Collect Server Information
更新时间: 2026/08/06
在Gitcode上查看源码Collect Server Information
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
| 26.06 | 2026/04/24 | Added usage scenario constraints to the command description |
Basic Information
Function Description
Collect device information.
CAUTION: After this command is executed, the OS will be restarted, causing service interruption on the OS side. Therefore, you are advised not to run this command on the live network.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer 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. |
| 4 | Sub command, sub command=8 Ah |
| 5 | Parameter selector. For details, see Table 1. |
| 6 | Data offset. The value starts from 0 (LS byte first). |
| 7 | Length: length of the data to be read or written |
| 8:N | Data: write data |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer 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 | End of List indicates whether the data reading is complete, Long data may need to be read multiple times. This field is used to check whether data is completely read. [7:1]: reserved. [0]: End of list 0=last data. 1=middle data |
| 6:N | Data Response data. For details, see Table 1. |
Reference
Table 1 Device information parameters
| Functions | Parameter Data | No. (Decimal) |
|---|---|---|
| Starting or Stopping Device Component Information Collection (write-only) | Request: Offset: 0x00 Length: 1 Data: 0 (stop), 1 (start) Response: End of List: 0 Data: none | 0 |
| Querying the Component Information Collection Status (read-only) | Request: Offset: 0x00 Length: 1 Response: End of List: 0 Data: 0: collection not started; 1: collection in progress; 2: collection completed; 3: collection failed | 1 |
| Querying the In-Band Component Information Collection Status (read-only) | Request: Offset: 0x00 Length: 0 Data: none Response: End of List: 0 Data: 0: The in-band component information is not collected. 1: The in-band component information is collected. | 2 |
| Clearing the In-Band Component Information Collection Status (write-only) | Request: Offset: 0x00 Length: 0 Data: none Response: End of List: 0 Data: none | 3 |
Command Example
Start device component information collection.
Request:
bash
ipmicmd -k "0f 00 db 07 00 8A 00 00 01 01 " smi 0Response:
text
0f db 07 00 00