Monitoring SGM Resources (asg resource)
Use this command to show SGM resource usage and thresholds for the entire 61000/41000 Security System.
Syntax
> asg resource [-b <sgm_ids>]
> asg resource -h
Parameter
|
Description
|
-b < sgm_ids>
|
Works with SGMs and/or Chassis as specified by <sgm_ids>.
< sgm_ids> can be:
- No <sgm_ids> specified or
all shows all SGMs and Chassis - One SGM
- A comma-separated list of SGMs (
1_1,1_4 ) - A range of SGMs (
1_1-1_4 ) - One Chassis (
Chassis1 or Chassis2 ) - The active Chassis (
chassis_active )
|
-h
|
Shows usage and exits
|
Example
> asg resource
+-----------------------------------------------------------------------------------+
|Resource Table |
+------------+-------------------------+------------+------------+------------------+
|SGM ID |Resource Name |Usage |Threshold |Total |
+------------+-------------------------+------------+------------+------------------+
|1_01 |Memory |31% |50% |31.3G |
| |HD: / |30% |80% |19.4G |
| |HD: /var/log |3% |80% |58.1G |
| |HD: /boot |19% |80% |288.6M |
+------------+-------------------------+------------+------------+------------------+
|1_02 |Memory |31% |50% |31.3G |
| |HD: / |30% |80% |19.4G |
| |HD: /var/log |2% |80% |58.1G |
| |HD: /boot |19% |80% |288.6M |
+------------+-------------------------+------------+------------+------------------+
|1_03 |Memory |31% |50% |31.3G |
| |HD: / |30% |80% |19.4G |
| |HD: /var/log |2% |80% |58.1G |
| |HD: /boot |19% |80% |288.6M |
+------------+-------------------------+------------+------------+------------------+
|1_04 |Memory |30% |50% |31.3G |
| |HD: / |29% |80% |19.4G |
| |HD: /var/log |2% |80% |58.1G |
| |HD: /boot |19% |80% |288.6M |
+------------+-------------------------+------------+------------+------------------+
|2_01 |Memory |31% |50% |31.3G |
| |HD: / |30% |80% |19.4G |
| |HD: /var/log |2% |80% |58.1G |
| |HD: /boot |19% |80% |288.6M |
+------------+-------------------------+------------+------------+------------------+
|2_02 |Memory |31% |50% |31.3G |
| |HD: / |30% |80% |19.4G |
| |HD: /var/log |2% |80% |58.1G |
| |HD: /boot |19% |80% |288.6M |
+------------+-------------------------+------------+------------+------------------+
|2_03 |Memory |31% |50% |31.3G |
| |HD: / |30% |80% |19.4G |
| |HD: /var/log |3% |80% |58.1G |
| |HD: /boot |19% |80% |288.6M |
+------------+-------------------------+------------+------------+------------------+
|2_04 |Memory |31% |50% |31.3G |
| |HD: / |30% |80% |19.4G |
| |HD: /var/log |1% |80% |58.1G |
| |HD: /boot |19% |80% |288.6M |
+------------+-------------------------+------------+------------+------------------+
Notes
- The column shows the SGM ID.
- The column identifies the resource. There are four types of resources:
- – Hard drive space (/)
- – Space on hard drive committed to log files
- - Location of the kernel
- The column shows the percentage of the resource in use.
- The gives an indication of the health and functionality of the component. When the value of the resource is greater than the threshold, an alert is sent. The threshold can be modified in
gclish . - The column is the total absolute value in units
For example, the first row shows that SGM1 on Chassis 1 has 31.3 GB of memory, 31% of which is used. An alert is sent if the usage is greater than 50%.
|