Trigger debug info collection
更新时间: 2026/08/06
在Gitcode上查看源码

Trigger debug info collection

Change History

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

Basic Information

Function Description

Trigger one-click information collection.

NOTE: For BMC SDK 5.12.0.1 or later, logs collected in one-click mode are stored in the /tmp directory by default. The logs are named in the format of Product name_SN_Current time.tar.gz. Example: TaiShan 200 2280 HV2_102287651234_202402281232.tar.gz

Privilege

SecurityMgnt

Command Information

Request Information

ByteData Field
NetFn30h
CMD94h
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, sub command=0Ch
5Options
0x00 Start collection
0x01 Get collect status
0x02: reserved field

Response Information

ByteData Field
1Completion Code
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*)collect status
00h = collect in progress
01h = collect completed
02h = collect failed
FFh = collect not performed
(6*)collect percentage
NOTE: * The number part exists only when Options is set to Get collect status.In BMC SDK 5.12.0.1 or later, if the value of Options is not 0x01 (Get collect status), the actual result is returned. For example, if the value of Options is 0x00, the fifth and sixth bytes of the returned value are 0x00 and 0x00, respectively.

Command Example

Trigger one-click information collection.

Request:

bash
ipmicmd -k "0f 00 30 94 db 07 00 0c 00" smi 0

Response:

text
0f 31 00 94 00 db 07 00

Back to Index