beautypg.com

2 displaying processor usage and load, 3 displaying memory – HP Insight Control Software for Linux User Manual

Page 184

background image

As shown in the following example, invoking the command without specifying a managed system
displays the sensor data for all managed systems. The output is truncated horizontally to fit on the
page. For example:

# shownode metrics sensors
Timestamp |Node_Id |Name |Value |Description
---------------------------------------------------------------------------------------
date_and_time |iclx3 |Sensor count |12 |Sensors within threshold; ok
date_and_time |iclx5 |Sensor count |0 |Sensor gathering not supported; ok
date_and_time |iclx2 |Sensor count |0 |Sensor gathering not supported; ok
date_and_time |iclx4 |Sensor count |12 |Sensors within threshold; ok
date_and_time |iclx6 |Sensor count |26 |Sensors within threshold; ok
date_and_time |iclx1 |Sensor count |14 |Sensors within threshold; ok
date_and_time |USE6371RA4|Sensor count |12 |Sensors within threshold; ok

21.2.4.2 Displaying processor usage and load

The shownode metrics cpus command displays the nice value (the amount of time the CPU
has spent in user mode with low priority) and the user, system, and idle times (in milliseconds) for
each processor on the managed system from which this command is issued. For example:

# shownode metrics cpus
Timestamp |Node |CPU# |User |Nice |System |Idle |I/O |IRQ |Soft_IRQ
-------------------------------------------------------------------------------------------------------
date_and_time |iclx3 |0 |861631 |75 |1210447 |558149658 |0 |0 |0
| |1 |917043 |78 |1230353 |555213274 |0 |0 |0
| |2 |842960 |53 |1092928 |554501898 |0 |0 |0
| |3 |666000 |54 |893274 |557810748 |0 |0 |0
date_and_time |iclx5 |0 |7827 |18 |6491 |556758062 |273325 |232 |1207
| |1 |77101 |82 |30413 |556641231 |290332 |3669 |4363
| |2 |9090 |17 |5298 |557056915 |13314 |0 |3
| |3 |21203 |69 |18883 |557037515 |6961 |1 |4
date_and_time |iclx2 |0 |1969686 |12257 |2517654 |562814420 |202167 |18743 |28224
| |1 |3253082 |6199 |2684158 |558581357 |3023712 |12 |14741
| |2 |3472213 |7916 |3592534 |557307957 |3161058 |5744 |15752
| |3 |3744486 |2630 |3781401 |559709176 |292079 |27163 |6309
date_and_time |iclx4 |0 |3957174 |3 |808672 |175509689 |624807 |11619 |9713
| |1 |3581181 |67 |781375 |172822957 |3773561 |4601 |9897
| |2 |3526831 |57 |682134 |172907412 |3771240 |12489 |21475
| |3 |2236905 |46 |530468 |177449365 |727681 |17911 |11262
date_and_time |iclx6 |0 |8769 |45 |22362 |66696549 |9067 |3172 |1983
| |1 |29438 |32 |30164 |66667795 |10119 |3712 |668
date_and_time |iclx1 |0 |1854680 |1 |2308294 |564006498 |223267 |2258 |48882
| |1 |3645524 |295 |2669669 |530638968 |31391474 |1 |97907
| |2 |3118507 |60 |2828907 |550132258 |12305645 |21605 |36849
| |3 |2585423 |1 |2680954 |561896064 |1266708 |13143 |1529
| |4 |2700043 |215 |2259501 |563186698 |295084 |0 |2273
| |5 |3517129 |107 |2372128 |561278491 |1274550 |0 |1402
| |6 |3684936 |300 |2303954 |561833592 |619651 |0 |1368
| |7 |3705238 |221 |2321097 |562124531 |291321 |0 |1387

The shownode metrics cputotals command also displays the nice value and the user,
system, and idle times (in milliseconds), and for the managed system as a whole. For example:

# shownode metrics cputotals
Timestamp |Node |User |Nice |System |Idle |I/O |IRQ |Soft IRQ
---------------------------------------------------------------------------------------------------
date_and_time |iclx3 |3289215 |262 |15314147 |2147483647 |10839721 |32328 |12001
date_and_time |iclx5 |115312 |187 |654869 |2147483647 |584261 |3905 |5582
date_and_time |iclx2 |12447298 |29007 |19381006 |2147483647 |6682148 |51692 |65057
date_and_time |iclx4 |13337073 |175 |11821391 |699735521 |8913754 |46640 |52458
date_and_time |iclx6 |38339 |77 |81481 |133916091 |19221 |6910 |2660
date_and_time |iclx1 |24823722 |1204 |67675999 |2147483647 |47692422 |37030 |191700

The shownode metrics load command displays 1-, 5-, and 15-minute processor load averages.
For example:

# shownode metrics load
Timestamp |Node |1 min |5 min |15 min |# Running |# threads
---------------------------------------------------------------------------------
date_and_time |iclx3 |0.14 |0.05 |0.01 |1 |146
date_and_time |iclx5 |0.00 |0.00 |0.00 |1 |90
date_and_time |iclx2 |0.01 |0.05 |0.00 |1 |191
date_and_time |iclx4 |0.36 |0.21 |0.18 |1 |503
date_and_time |iclx6 |0.00 |0.00 |0.00 |1 |121
date_and_time |iclx1 |0.38 |0.30 |0.23 |1 |227

21.2.4.3 Displaying memory

The shownode metrics mem command displays memory total and usage information. For
example:

184 Using the command line to view managed system status