dmidecode

Presentation

Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output). This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).

DMI data can be used to enable or disable specific portions of kernel code depending on the specific hardware. Thus, one use of dmidecode is for kernel developers to detect system "signatures" and add them to the kernel source code when needed.

Beware that DMI data have proven to be too unreliable to be blindly trusted. Dmidecode does not scan your hardware, it only reports what the BIOS told it to.

Dmidecode was first written by Alan Cox, then was further developed and for a long time maintained by Jean Delvare, and is now maintained by Anton Arapov. It is released under the General Public License (GPL). For more details, you should have a look at the AUTHORS and LICENSE files that come with the source code.

Three additional tools come with dmidecode:

Documentation

Some documentation files are distributed with the source code:

Related Articles

Dmidecode is featured in the following articles:

Supported Systems

Dmidecode is known to work on the following systems:

Download

Source code is available for download (mirror). You can also get the latest sources using CVS.

Recommended patches: dmidecode.c 1.173, 1.175, 1.176.

No binaries are available here, but dmidecode is packaged for several Linux and BSD distributions (Debian, Gentoo, openSUSE and FreeBSD among others), either as a single package or included in a more generic tool set. BeOS and DOS packages are also known to exist.

Links

Related Tools

Dmidecode is used by the following programs:

The dmidecode code was copied and integrated into the following programs:

Alternative implementations of a DMI table decoder: