Get Threshold Sensor Reading
更新时间: 2026/08/06
在Gitcode上查看源码

Get Threshold Sensor Reading

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Obtains the sensor threshold.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
4Sub command, subcommand = 31h
5Sensor type. For details, see Table 1.
6Parameter Selector
7Device #, 1 based, indicates the component number. The value 255 indicates the total power of a component (such as a CLU or fan) that supports total power query. Other values are specific component numbers.

Response Information

ByteData Field
1Completion Code
[0xC9] indicates that the entered part number exceeds the upper limit.
2:4Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
5:8Reading, little endian, signed int type
9Unit

Reference

Table 1 Sensor type.

TypeValue (Decimal)
Temperature1
Voltage2
Current3
Speed.4
Power supply or power8
Power consumption11

Table 2 Temperature data table

ParameterParameter DataNo. (Decimal)
Inlet TempTemperature of the air inlet1
OutLet TempTemperature of the air outlet2
CPU TempCPU core temperature3
DIMM TempDIMM temperature4
RAID TempRAID controller card temperature5

Table 3 Voltage data table

ParameterParameter DataNo. (Decimal)
PS input voltagePower input voltage1
PS output voltagePSU output voltage2
SYS12V/SYS_12V_212 V voltage3

Table 4 Current data table

ParameterParameter DataNo. (Decimal)
PS input currentPSU input current1
PS output currentPSU output current2

Table 5 Power data table

ParameterParameter DataNo. (Decimal)
PS input powerPSU input power1
PS output powerPSU output power.2
Fan total powerTotal fan power3
CLU PowerTotal power of heat dissipation components4

Table 6 Tachometer

ParameterParameter DataNo. (Decimal)
FAN1 F Speed/FAN1 R SpeedRotational speed of the fans1

Table 7 Unit

UnitNo. (Decimal)
Celsius (C)1
Volt (V)4
Ampere (A)5
Watt (W)6
Rotational Speed (RPM)7
Millivolt (mV)104
Milliampere (mA)105
0.1 Watt (W)106

Command Example

Obtain the sensor threshold.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index