Hardware and System Information from Command Line Part 3 dmidecode

Dmidecode reports information about your system’s hardware as described in your system BIOS according to theSMBIOS/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.

Three additional tools come with dmidecode:

  • biosdecode prints all BIOS related information it can find.
  • ownership retrieves the “ownership tag” that can be set on Compaq computers;
  • vpddecode prints the “vital product data” information that can be found in almost all IBM computers.

Let us take a look at it with commands and Images:

sudo dmidecode -h 

is the help command as seen here:




and so gives it much commands for dmidecode, i list here any more so that you can try it.

sudo dmidecode -s system-manufacturer

gives Info about the manufacturer from the System

sudo dmidecode -s system-product-name

Product Name output

sudo dmidecode -s system-version

Model number from the System Version

sudo dmidecode -s bios-version

Version number of the BIOS

sudo dmidecode -s baseboard-manufacturer

Mainboard Manufacturer Name

sudo dmidecode -s baseboard-product-name

Product name of the Mainboard

sudo dmidecode -s baseboard-version

Version number of the Mainboard

sudo dmidecode

Output from all available Information’s

sudo dmidecode -t x

Information about the DMI-Type x (0-41)

sudo dmidecode -t bios

All available Information’s about the BIOS (Manufacturer, Version, Language ….)

sudo dmidecode -t processor

All Informations about the Processor

Thus, information about all available in the BIOS components can be learned.

The following command provides information on the characteristics of the main boards (BIOS), eg PCI, ACPI, UEFI …

The following command provides information on the characteristics of the main boards (BIOS), eg PCI, ACPI, UEFI …

sudo dmidecode -t 0 




The following command is an extended command sudo dmidecode -t 0, ie, He not only lists the type 0 on, but all types corresponding to:

sudo dmidecode -t bios


The following command provides detailed information about the processor:

sudo dmidecode -t processor


Other parameters are in the man pages.

Reading spec. Information using grep:

sudo dmidecode -t0 | grep EFI

to check whether the BIOS UEFI  capable is

sudo dmidecode | grep -A3 ‘BIOS Information’

BIOS information (3 lines)


sudo dmidecode | grep -A3 ‘Base Board Information’

Vendor and device information (3 lines)


sudo dmidecode | grep -A 16 “Memory Device” | egrep “(Type|Speed)”

RAM Speed Detect (16 lines)



Biosdecode reads the / dev / mem device file and displays information and entry points about things that transmits the bios, if they are available. Currently it supports SMBIOS, DMI, SYSID, PNP, ACPI, BIOS32, PIR, 32OS, SNY, VPD, FJKEYINF.

Biosdecode has no command line parameters. Starting it simply:

sudo biosdecode




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s