Set Power Limit
更新时间: 2026/08/06
在Gitcode上查看源码Set Power Limit
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Query user service configurations.
Privilege
PowerMgmt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 0x2C |
| CMD | 0x04 |
| 1 | 0xDC |
| 2:4 | Reserved,0x000000 |
| 5 | Expected Action After Capping Failure 00h: no action 01h: power-off and event log recording 02h - Restarts the system and records event logs. 11h: 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 |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | 0xDC |
Command Example
Set the expected action for power capping failure to no action and the power capping value to 900 W.
Request:
bash
ipmitool dcmi power set_limit action no_action limit 900Response:
text
Current Limit State: Power Limit Active
Exception actions: No Action
Power Limit: 900 Watts
Correction time: 0 milliseconds
Sampling period: 0 seconds