Get Info
更新时间: 2026/08/06
在Gitcode上查看源码

Get Info

Change History

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

Basic Information

Function Description

Collect the exported file.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD40h
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
[Bit 0]:
1 -> Read
[Bit 1-7]:
0x00 ->Cpu Info
0x01 ->Mem Info
0x02 ->HardDisk Info
0x03 ->Pcie Info
....

Response Information

ByteData Field
1Completion Code
80h=parameter not supported
81h=attempt to set the 'set in progress' value (in parameter #0) when not in the 'set complete' state. (This completion code provides a way to recognize that another party has already 'claimed' the parameters.)
82h=attempt to write read-only parameter
83h=attempt to read write-only parameter
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:6Next Record ID, LS Byte first (return FFFFh if the record just returned is the last record.)
Note: FFFFh is not allowed as the record ID for an actual record. I.e. the Record ID in the Record Data for the last record should not be FFFFh
7:NInfo Data

Reference Information

Table 1 Info

-EntryLength(bytes)Description
Cpu InfoCPUs1N indicates the number of CPU attributes to be transmitted. If the total length of the information exceeds the defined carrier length, the information is transmitted in multiple times.
CPU n attributesBox_ID1No.
CPU_Type10=x86
1=Itanium
BrandID2Processor code (for example, 9300)
BrandString8Processor code string, for example, Tukwila.
CPUS1CPU cores.
Sockets1Total number of sockets in the system
Cores1Number of cores per socket
Threads
MAX_Freq
1
2
Number of threads per socket
Maximum Frequency (MHz) LS Byte first
Mem InfoNum1Number of memory bars
Memory n attributeBox_ID1No.
Memory_Size1Memory size, in GB.
HardDisk InfoNum1Number of Disks
Properties of hard disk nBox_ID1No.
Memory_Size2Size, in GB. LS Byte first.
Speed2Rotational speed, LS Byte first
PCIe InfoNum1Number of PCIe devices
PCIe n attributeBox_ID1No.
Capability1X4, X8, or X16

Command Example

Obtain information.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index