3. Accessing Data for Electric Power, Temperature, and Processor Utilization
Express5800/E120f-M Maintenance Guide
163
Chapter 3 Appendix
3.2.2
Intake air temperature
Intake air temperature is given by executing IPMI commands to BMC.
The example below uses Open IPMI driver and IPMITool that are open source software. For Red Hat Enterprise
Linux 6, OpenIPMI driver is contained in Inbox driver. IPMITool is contained in: OpenIPMI-tools-[version].rpm
•
Execution example
# ipmitool sdr type Temperature
•
Execution result
Baseboard Temp4 | 31h | ok | 45 degrees C
FntPnl Amb Temp | 35h | ok | 27 degrees C
CPU1_DIMM1 Temp | 40h | ok | 48 degrees C
CPU1_DIMM2 Temp | 41h | ok | 46 degrees C
CPU1_DIMM3 Temp | 42h | ok | 49 degrees C
CPU1_DIMM4 Temp | 43h | ns | No Reading
CPU1_DIMM5 Temp | 44h | ns | No Reading
CPU1_DIMM6 Temp | 45h | ns | No Reading
P1 Therm Ctrl % | A0h | ok | 0 unspecified
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
FntPnl Amb Temp
in its name.
The data in the above example is obtained from the sensor that contains
FntPnl Amb 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 6,
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 know the processor utilization rate by subtracting
%idle
from 100%.