|
One, dmidecode Profile
dmidecode allows you to get information about the hardware in the Linux system. dmidecode follow SMBIOS / DMI standard, the information output includes BIOS, system, motherboard, processor, memory, cache, and so on.
DMI (Desktop Management Interface, DMI) is a computer system to help collect information management system to collect DMI information must be carried out in strict accordance with specifications under the premise SMBIOS. SMBIOS (System Management BIOS) motherboard or system manufacturer to display a standardized product management information needed to follow a standard format. DMI and SMBIOS by industry guidance mechanism Desktop Management Task Force (DMTF) Drafting of open technology standards, including DMI design is suitable for any platform and operating system.
DMI acted as an interface between layers of management tools and systems. It establishes a standard management system can be more convenient for the computer makers and users of the system understand. The main component of DMI is the Management Information Format (MIF) database. This database contains all the information about the computer system and accessories. By DMI, the user can obtain the serial number, computer manufacturers, system information, and other serial accessories.
dmidecode general output format is as follows:
Handle 0x0002, DMI type 2, 95 bytes.
Base Board Information
Manufacturer: IBM
Product Name: Node1 Processor Card
Version: Not Specified
Serial Number: Not Specified
Which is called the first three rows of the recording head (recode header), including:
1.recode id (Handle): DMI records in a table identifier, which is unique, such as the example above Handle 0x0002.
2.DMI type id: type of record, say: BIOS, Memory, the above example is type 2, namely "Base Board Information".
3.recode size: the size of the DMI table corresponding record, the cases of 95 bytes. (Not including text information, all the contents of the actual output to be larger than this size). Is the value recorded after the recording head.
4.recoded values: recorded values can be multi-line, such as the above example shows the motherboard manufacturer (Manufacturer), Product Name, Version and Serial Number.
Two, dmidecode role
dmidecode role is to DMI database decode the information in a readable text display. Since DMI information may be artificially modified so that the inside information is not necessarily accurate system information.
Three, dmidecode Command Usage
Executed with no options dmidecode usually the output of all hardware information. dmidecode has a very useful option -t, you can specify the type of the output information. If you want to obtain information about the processor, you can do:
dmidecode -t processor
Usage: dmidecode [OPTIONS]
Options are:
-d: (default: / dev / mem) reads information from the device file, the output parameters of the standard output with and without the same.
-h: displays help information.
-s: Show only specified information DMI string. (String)
-t: Display information for the specified entry. (Type)
-u: Show original entry content does not decode.
--dump-bin FILE: Dump the DMI data to a binary file.
--from-dump FILE: Read the DMI data from a binary file.
-V: Display version information
Four, dmidecode string parameter and type list
(1) Valid string keywords are:
bios-vendor
bios-version
bios-release-date
system-manufacturer
system-product-name
system-version
system-serial-number
system-uuid
baseboard-manufacturer
baseboard-product-name
baseboard-version
baseboard-serial-number
baseboard-asset-tag
chassis-manufacturer
chassis-type
chassis-version
chassis-serial-number
chassis-asset-tag
processor-family
processor-manufacturer
processor-version
processor-frequency
(2) Valid type keywords are:
bios
system
baseboard
chassis
processor
memory
Cache
connector
slot
(3) type the complete coding list
0 BIOS
1 System
2 Base Board
3 Chassis
4 Processor
5 Memory Controller
6 Memory Module
7 Cache
8 Port Connector
9 System Slots
10 On Board Devices
11 OEM Strings
12 System Configuration Options
13 BIOS Language
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-bit Memory Error
19 Memory Array Mapped Address
20 Memory Device Mapped Address
21 Built-in Pointing Device
22 Portable Battery
23 System Reset
24 Hardware Security
25 System Power Controls
26 Voltage Probe
27 Cooling Device
28 Temperature Probe
29 Electrical Current Probe
30 Out-of-band Remote Access
31 Boot Integrity Services
32 System Boot
33 64-bit Memory Error
34 Management Device
35 Management Device Component
36 Management Device Threshold Data
37 Memory Channel
38 IPMI Device
39 Power Supply
40 Additional Information
41 Onboard Device |
|
|
|