Linux; Power Consumption - NEC Express5800 Maintenance Manual

Hide thumbs Also See for Express5800:
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 to BMC via IPMI.
Network Function Code:3Eh (Controller-specific OEM)
Command Code:0Bh (Get Current Sensor Data)
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 contained in: OpenIPMI-tools-[version].rpm
Execution example
# ipmitool raw 0x3e 0x0b
Execution result
4C 00
Power consumption is given by calculating the 2-byte (16 bits) output value.
The second value 0x00 [15:8]
The first value
In the example above, power consumption = 0x004C (hexadecimal number) = 76 (decimal number)
watts.
Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0xb rsp=0xc1): Invalid Command
or
Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0xb rsp=0xcb): Requested sensor, data, or record not found
Express5800/A1040b, A2040b, A2020b, A2010b Maintenance Guide
128
3. Accessing Data for Electric Power, Temperature, and Processor Utilization
0x4C [7:0]
Power consumption readings may not be acquired depending on the power supply
Tips
configuration of the server.
In such cases, either of the following messages is displayed.

Advertisement

Table of Contents
loading

Table of Contents