Usage of Dmidecode Commands for Linux System

  

The main role of the Dmidecode command in Linux systems is to obtain hardware information, including memory, CPU, motherboard, and system. If you don't have the Dmidecode command, you can only go to the computer room to check the server model. The Dmidecode command can help us to achieve cross-regional query. Let's take a closer look at the usage of the Linux system Dmidecode command.

a, Dmidecode Profile

DMI (Desktop Management Interface, DMI) is to help collect management information system computer system, the premise must strictly comply with DMI SMBIOS specification in the collection of information get on. SMBIOS (System Management BIOS) is a uniform specification that motherboard or system manufacturers must follow to display product management information in a standard format. SMBIOS and DMI are open technical standards drafted by the industry-directed organization, the Desktop Management Task Force (DMTF), which is designed for any platform and operating system.

DMI acts as an interface between the management tools and the system layer. It establishes a standard manageable system that makes it easier for computer manufacturers and users to understand the system. The main component of DMI is the Management Information Format (MIF) database. This database contains all the information about computer systems and accessories. With DMI, users can get serial numbers, computer manufacturers, serial information and other system accessories.

The output format of dmidecode is generally as follows:

Handle 0×0002 DMI type 2, 8 bytes Base Board Information Manufacturer:Intel Product Name: C440GX+ Version: 727281-0001 Serial Number: INCY92700942

The first three lines are called recoce headers, which include:

recode id(handle): the record identifier in the DMI table, which is unique, such as In the example, Handle 0× 0002.

dmi type id: The type of record, for example: BIOS, Memory, the above example is type 2, ie, "Base Board Information",

recode size: the size of the corresponding record in the DMI table The above example is 8 bytes. (Excluding text information, all actual output content is larger than this size.) The value of the record after the record header

498 values: The record value can be multiple lines. For example, the above example shows the manufacturer (manufacturer), model, version, and serial number of the motherboard.

Second, the role of Dmidecode

The role of dmidecode is to decode the information in the DMI database and display it in readable text. Since the DMI information can be modified manually, the information inside is not necessarily the system accurate information.

Third, install Dmidecode

Dmidecode can be found in mainstream Linux distributions, just install it through the distribution manager of the distribution, such as:

Apt-get install dmidecode

Or use the official package to install:

Dmidecode source package download address: http://download.savannah.GNU.org/releases/dmidecode/

Win version download address: http://gnuwin32.sourceforge.net/packages/dmidecode.htm Previous page123Next page Total 3 pages

Copyright © Windows knowledge All Rights Reserved