Linux; Power Consumption; Intake Air Temperature - NEC Express5800 Series Maintenance Manual

Express server
Hide thumbs Also See for Express5800 Series:
Table of Contents

Advertisement

Chapter 3 Appendix
3.2

Linux

The sample program below is verified to be run on Red Hat Enterprise Linux 5.
3.2.1

Power consumption

Power consumption is given by executing the following commands via IPMI to BMC.
Network Function Code: 2Ch (Group Extension)
Command Code: 02h (Get Power Reading)
Request Data: 000001DCh
The example below uses the open-source software OpenIPMI driver and IPMITool. For Red Hat Enterprise
Linux 5, OpenIPMI is provided as an inbox driver. IPMITool is provided in: OpenIPMI-tools-[version].rpm
Execution example
# ipmitool raw 0x2c 0x02 0xdc 0x01 0x00 0x00
Execution result
dc 32 01 00 00 4d 01 7f 00 80 0e 33 4e 70 b2 72 01 40
Power consumption is given by calculating the 2-byte (16 bits) output value.
The third value
The second value
In the example above, power consumption = 0x0132 (16 bits) = 306 (10 bits) watts.
Unable to send RAW command (channel=0x0 netfn=0x2c lun=0x0 cmd=0x2 rsp=0xc1): Invalid Command
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 5, 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
Fnt Pnl Temp
CPU1_DIMM1 Temp
CPU1_DIMM2 Temp
CPU1_DIMM3 Temp
CPU1_DIMM4 Temp
CPU1_DIMM5 Temp
CPU1_DIMM6 Temp
P1 Therm Ctrl %
3. Accessing Data for Electric Power, Temperature, and Processor Utilization
0x01 [15:8]
0x32 [7:0]
Tips
Power consumption readings may not be acquired depending on the power supply
configuration of the server.
In such cases, either of the following messages is displayed.
| 31h | ok | 45 degrees C
| 35h | ok | 27 degrees C
| 40h | ok | 48 degrees C
| 41h | ok | 46 degrees C
| 42h | ok | 49 degrees C
| 43h | ns | No Reading
| 44h | ns | No Reading
| 45h | ns | No Reading
| A0h | ok | 0 unspecified
Express5800/E120d-1 Maintenance Guide
149

Advertisement

Table of Contents
loading

This manual is also suitable for:

Express5800/e120d-1

Table of Contents