3. Accessing Data for Electric Power, Temperature, and Processor Utilization
Express5800/R120e-1M, R120e-2M Maintenance Guide
154
Chapter 3 Appendix
The output above shows the following in a line in order.
1st: Sensor name
2nd: Sensor number
3rd: Sensor status
ok
indicates that the status has not reached a point of warning or danger.
4th: Sensor monitoring point
5th: The current reading of the sensor
The sensor indicating intake air temperature contains
Amb
,
Ambient
, or
Fnt Pnl Temp
in its name.
The data in the above example is obtained from the sensor that contains
Fnt Pnl Temp
in its ID and the
intake air temperature is 27
°
C.
3.2.3
Processor utilization
The utilization rate of all logical processors is given by executing the
mpstat
command provided in a Linux
distribution.
For Red Hat Enterprise Linux 5,
sysstat-[version].rpm
contains the command.
•
Execution
example
# mpstat -P ALL
•
Execution
result
Linux 2.6.18-164.el5 (localhost.localdomain) 11/17/09
17:59:30 CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
17:59:30 all 1.23 0.04 0.42 2.69 0.03 0.10 0.00 95.49 1086.42
17:59:30 0 0.42 0.00 0.58 0.76 0.00 0.00 0.00 98.24 666.34
17:59:30 1 0.41 0.00 0.29 1.09 0.00 0.00 0.00 98.21 0.00
17:59:30 2 2.17 0.00 0.33 2.30 0.00 0.00 0.00 95.21 0.00
17:59:30 3 1.85 0.08 0.68 8.55 0.00 0.60 0.00 88.24 379.87
17:59:30 4 0.87 0.00 0.19 0.42 0.00 0.00 0.00 98.53 0.00
17:59:30 5 2.42 0.01 0.35 1.31 0.08 0.00 0.00 95.83 6.63
17:59:30 6 0.30 0.01 0.17 1.39 0.00 0.00 0.00 98.13 0.02
17:59:30 7 1.36 0.20 0.74 5.72 0.12 0.20 0.00 91.66 33.54
You can acquire the processor utilization rate by subtracting
%idle
from 100%.