Get total Temperature
更新时间: 2025/06/26
在Gitcode上查看源码26h-获取总体温度(Get-total-Temperature)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取总体温度。
权限
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 4 | Sub command,子命令=0x26h |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 5:6 | total temp number |
| 7 | temp type 1-dimm temp 2-sensor reading |
| 8:9 | temp index if temp type 1, tempindex=dimmindex if temp type 2, tempindex=sensorNum |
| 10 | temp value |
| 11:N | 重复参数7-10 |
命令样例
获取内存温度
请求:
ipmicmd -k "0f 00 MM NN" smi 0响应:
0f MM NN