Get Power Limit
更新时间: 2026/08/06
在Gitcode上查看源码Get Power Limit
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtains the system power capping configuration.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 0x2c |
| CMD | 0x03 |
| 1 | 0xDC |
| 2:3 | Reserved, 0x0000 |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | 0xDC |
| 3:4 | Reserved, 0x0000 |
| 5 | Expected Action After Capping Failure 00h: no action 01h: power-off and event log recording 02h - Restarts the system and records event logs. 03h: Only event logs are recorded. |
| 6:7 | Power capping value (Watt). The least significant byte is preferred. |
| 8:11 | Correction Time Limit (ms) After the platform power reaches the power limit, the power is limited to a value lower than the power limit within the correction time. Otherwise, the power capping fails and a failure action is taken. Low byte first |
| 12:13 | Reserved, 0x0000 |
| 14:15 | Sampling period: statistics sampling period Low byte first |
Command Example
Query the power capping configuration using the DCMI standard command.
Request:
bash
ipmitool dcmi power get_limitResponse:
text
Current Limit State: Power Limit Active
Exception actions: No Action
Power Limit: 800 Watts
Correction time: 0 milliseconds
Sampling period: 0 seconds