Linux; 耗电量; 进气温度 - NEC Express5800 Maintenance Manual

Hide thumbs Also See for Express5800:
Table of Contents

Advertisement

第 3 章 附录
3.2

Linux

下列示例程序已经过 Red Hat Enterprise Linux 5 和 Linux 6 上的验证。
3.2.1
耗电量
耗电量通过 IPMI 向 BMC 执行以下命令获得。
以下示例使用开源软件 OpenIPMI 驱动程序以及 IPMITool。对于 Red Hat Enterprise Linux 5,OpenIPMI 是
作为一个 inbox 驱动程序提供的。IPMITool 包含在: OpenIPMI-tools-[version].rpm 中。
执行示例
# ipmitool raw 0x2c 0x02 0xdc 0x01 0x00 0x00
执行结果
dc 32 01 00 00 4d 01 7f 00 80 0e 33 4e 70 b2 72 01 40
耗电量通过计算 2 字节(16 位) 输出数值来获得。
The second value 0x01 [15:8]
The first value
在上述示例中,耗电量= 0x0132 (16 位) = 306 (10 位) 瓦。
Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0 cmd=0xb rsp=0xc1): Invalid Command
3.2.2
进气温度
进气温度通过对 BMC 执行 IPMI 命令来获得。
以下示例使用了 OpenIPMI 驱动程序以及开源软件 IPMITool。 对 Red Hat Enterprise Linux 5 来说, OpenIPMI
驱动程序包含在 Inbox 驱动程序内。IPMITool 包含在: OpenIPMI-tools-[version].rpm 中。
执行示例
# ipmitool sdr type Temperature
执行结果
Baseboard Temp4 | 31h | ok | 45 degrees C
Fnt Pnl Temp
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
上述输出结果中的每一行按顺序说明如下。
第一列:传感器名称
Network Function Code:2Ch (Group Extension )
Command Code:02h (Get Power Reading)
Request Data:000001DCh
0x32 [7:0]
提示
由于服务器电源配置不同,有时可能不会要求耗电量读数。
这时,显示下列任意一条消息。
| 35h | ok | 27 degrees C
Express5800/T110g-S, R110g-1E, T110g-E 维护指南
获取关于电源、温度和处理器使用率的数据
3.
163

Advertisement

Table of Contents
loading

Table of Contents