教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 政务民生 >

ipmitool工具常用命令汇总(4)

来源:网络收集 时间:2026-01-17
导读: Current 1 | 6Ah | ok | 10.1 | 0.80 Amps Current 2 | 6Bh | ns | 10.2 | No Reading Voltage 1 | 6Ch | ok | 10.1 | 236 Volts Voltage 2 | 6Dh | ns | 10.2 | No Reading PwrConsumption | 77h | ok | 7.1 | 168

Current 1 | 6Ah | ok | 10.1 | 0.80 Amps Current 2 | 6Bh | ns | 10.2 | No Reading Voltage 1 | 6Ch | ok | 10.1 | 236 Volts Voltage 2 | 6Dh | ns | 10.2 | No Reading PwrConsumption | 77h | ok | 7.1 | 168 Watts

说明:

Fan ----表示风扇

Inlet Temp ----进口温度 Exhaust Temp ----出口温度 Temp ----CPU的温度 Current --电流 Voltage ---电压 Pwr Consumption ----功率

7.2查看传感器的类型和指定类型的数据

查看传感器有哪些类型

[root@cell83 ~]#ipmitool -I open sdr type list Sensor Types:

Temperature (0x01) Voltage (0x02) Current (0x03) Fan (0x04) Physical Security (0x05) Platform Security (0x06) Processor (0x07) Power Supply (0x08) Power Unit (0x09) Cooling Device (0x0a) Other (0x0b) Memory (0x0c) Drive Slot / Bay (0x0d) POST Memory Resize (0x0e) System Firmwares (0x0f) Event Logging Disabled (0x10)

Watchdog1 (0x11) System Event (0x12) Critical Interrupt (0x13) Button (0x14) Module / Board (0x15) Microcontroller (0x16) Add-in Card (0x17) Chassis (0x18) Chip Set (0x19) Other FRU (0x1a) Cable / Interconnect (0x1b) Terminator (0x1c) System Boot Initiated (0x1d) Boot Error (0x1e) OS Boot (0x1f) OS Critical Stop (0x20) Slot / Connector (0x21) System ACPI Power State (0x22) Watchdog2 (0x23) Platform Alert (0x24) Entity Presence (0x25) Monitor ASIC (0x26) LAN (0x27) Management Subsys Health (0x28) Battery (0x29) Session Audit (0x2a) Version Change (0x2b) FRU State (0x2c)

查看指定传感器的数据 如查看温度:

[root@cell83 ~]#ipmitool -I open sdr type Temperature Inlet Temp | 04h | ok | 7.1 | 35 degrees C Exhaust Temp | 01h | ok | 7.1 | 40 degrees C Temp | 0Eh | ok | 3.1 | 46 degrees C Temp | 0Fh | ok | 3.2 | 47 degrees C

如查看电源的个数1:有一个电源

[root@cell83 dvd]#ipmitool -I open sdr type \PS Redundancy | 74h | ns | 7.1 | No Reading

Status | 62h | ok | 10.1 | Presence detected Status | 63h | ns | 10.2 | Disabled

如查看电源的个数2:有四个电源

[root@db04 ~]#ipmitool -I open sdr type \PS Redundancy | 74h | ok | 7.1 | Redundancy Lost Status | 62h | ok | 10.1 | Presence detected

Status | 63h | ok | 10.2 | Presence detected, Power Supply AC lost Status | 52h | ok | 10.3 | Presence detected, Config Error, Power Supply Inactive

Status | 53h | ok | 10.4 | Presence detected, Config Error, Power Supply Inactive

7.3查看指定传感器的配置信息

[root@cell83 ~]#ipmitool -I open sdr get Temp Sensor ID : Temp (0xe)

Entity ID : 3.1 (Processor)

Sensor Type (Threshold) : Temperature (0x01) Sensor Reading : 47 (+/- 1) degrees C Status : ok

Nominal Reading : 23.000 Normal Minimum : 11.000 Normal Maximum : 69.000 Upper critical : 83.000 Upper non-critical : 77.000 Lower critical : 3.000 Lower non-critical : 8.000 Positive Hysteresis : 1.000 Negative Hysteresis : 1.000

Minimum sensor range : Unspecified Maximum sensor range : Unspecified

Event Message Control : Per-threshold Readable Thresholds : No Thresholds Settable Thresholds : No Thresholds Assertion Events : Assertions Enabled :

7.4查看传感器仓库sdr的配置信息

[root@cell83 ~]#ipmitool -I open sdr info SDR Version : 0x51 Record Count : 170

Free Space : 1836 bytes

Most recent Addition : 02/07/2106 06:28:15 Most recent Erase : 02/07/2106 06:28:15 SDR overflow : no SDR Repository Update Support : modal Delete SDR supported : no Partial Add SDR supported : no Reserve SDR repository supported : yes SDR Repository Alloc info supported : no

8.查看系统事件sel日志

[root@cell83 ~]#ipmitool -I open sel help

SEL Commands: info clear delete list elist get add time save readrawwriteraw interpret

8.1查看sel的状态信息

[root@cell83 ~]#ipmitool -I open sel info help SEL Information

Version : 1.5 (v1.5, v2 compliant) Entries : 740

Free Space : 4544 bytes Percent Used : 72%

Last Add Time : 08/27/2018 08:48:29 Last Del Time : 09/13/2014 11:16:12 Overflow : false

Supported Cmds : 'Reserve'

8.2查看sel的中的日志信息

ipmitool -I open sel list | elist

When this command is invoked without arguments, the entire contents of the System Event Log are displayed. If invoked as elist (extended list) it will also use the Sensor Data Record entries to display the sensor ID for the sensor that caused each event. Note this can take a long time over the system interface.

| first

Displays the first count (least-recent) entries in the SEL. If count is zero, all entries are displayed.

last

Displays the last count (most-recent) entries in the SEL. If count is zero, all entries are displayed. 查看前5条

[root@cell83 ~]#ipmitool -I open selelist first 5 1 | 09/13/2014 | 11:16:12 | Event Logging Disabl …… 此处隐藏:3279字,全部文档内容请下载后查看。喜欢就下载吧 ……

ipmitool工具常用命令汇总(4).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/447129.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)