Monitoring SGM Resources (asg resource)
Use this command to show SGM resource usage and thresholds for the whole 61000/41000 Security System.
Syntax
asg resource <-b sgm_string>
asg resource -h
Parameter
|
Description
|
-b sgm
|
Works with SGMs and/or Chassis as specified by <sgm_ids>.
The <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 Resource column identifies the resource. There are four types of resources:
Memory HD – hard drive space (/)HD: /var/log – space on hard drive committed to log filesHD: /boot - location of the kernel
- The column shows the percentage of the resource in use.
- The Threshold 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 Total 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 will be sent if the usage is greater than 50%.
|