Get Fan Level
更新时间: 2026/08/06
在Gitcode上查看源码Get Fan Level
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtains the fan speed level.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | PICMG |
| CMD | 16h |
| 1 | PICMG Identifier. Indicates that this is a PICMG-defined group extension command. A value of 00h is used. |
| 2 | FRU Device ID. Indicates an individual FRU device to query. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | PICMG Identifier. Indicates that this is a PICMG-defined group extension command. A value of 00h is used. |
| 3 | Override Fan Level. Indicates the fan level that the Shelf Manager has selected, which must be in the range Minimum Speed Level to Maximum Speed Level, or equal to FEh or FFh. FEh=Fan has been placed in "Shut Down" by the Shelf Manager FFh=Fan operating in Local Control mode |
| 4 | Local Control Fan Level. This byte is optional if the Fan Tray does not support Local Control. When present, this byte always indicates the Local Control fan level as determined by the Fan Tray controller. When Local Control is supported, the actual fan level is: 1) the value of this byte if Override Fan Level is FFh, or 2) the larger of this byte and Override Fan Level if Local Control Enable State is 01h, 3) the value of Override Fan Level if Local Control Enable State is 00h, or 4) Shut Down if either Override Fan Level or this byte has a value FEh. |
| 5 | Local Control Enable State[1]. This byte is omitted if the Fan Tray does not support Local Control. When present, this byte indicates the Local Control State. A value of 0 indicates that Local Control mode is disabled and a value of 1 indicates Local Control mode is enabled. |
Command Example
Obtain the fan speed level.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN