dmidecode - Unix, Linux Command


Previous Page
Next Page  


dmidecode - DMI table decoder


dmidecode [OPTIONS]


dmidecode is a tool for dumping a computer's DMI (some say SMBIOS ) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware. While this is a good point in terms of report speed and safeness, this also makes the presented information possibly unreliable.


-d, --dev-mem FILE Read memory from device FILE (default: /dev/mem).
-q, --quiet Be less verbose. Unknown, inactive and OEM -specific entries are not displayed. Meta-data and handle references are hidden.
-s, --string KEYWORD Only display the value of the DMI string identified by KEYWORD.
-t, --type TYPE Only display the entries of type TYPE. TYPE can be either a DMI type number, or a comma-separated list of type numbers, or a keyword from the following list: bios, system, baseboard, chassis, processor, memory, cache, connector, slot.
-u, --dump Do not decode the entries, dump their contents as hexadecimal instead. Note that this is still a text output, no binary data will be thrown upon you. The strings attached to each entry are displayed as both hexadecimal and ASCII . This option is mainly useful for debugging.
--dump-bin FILE Do not decode the entries, instead dump the DMI data to a file in binary form. The generated file is suitable to pass to --from-dump later.
--from-dump FILE Read the DMI data from a binary file previously generated using --dump-bin
-h, --help Display usage information and exit
-V, --version Display the version and exit



To Get Physical Memory (RAM) information using dmidecode:

# dmidecode -t 16

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: Multi-bit ECC
        Maximum Capacity: 8 GB
        Error Information Handle: Not Provided
        Number Of Devices: 4


To Get BIOS information using dmidecode

# dmidecode -t bios

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
        Vendor: Dell Computer Corporation
        Version: A07
        Release Date: 01/13/2004
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 4096 kB


To View Manufacturer, Model and Serial number of the equipment using dmidecode

# dmidecode -t system

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0100, DMI type 1, 25 bytes
System Information
        Manufacturer: Dell Computer Corporation
        Product Name: PowerEdge 1750
        Version: Not Specified
        Serial Number: 1234567
        UUID: 4123454C-4123-1123-8123-12345603431
        Wake-up Type: Power Switch


To get Hardware Information about chasis:

# dmidecode -t chassis

# dmidecode 2.9
SMBIOS 2.31 present.

Handle 0x0003, DMI type 3, 17 bytes
Chassis Information
Manufacturer: No Enclosure
Type: Other
Lock: Not Present
Version: N/A
Serial Number: None



To get DMI types:
Dmidecode with options ‘-t ‘or ‘–type‘ and ‘Id‘ will provide us the exact infromation. Id 6 will give us Memory Module information.

# dmidecode -t 6

output: # dmidecode 2.11 SMBIOS version fixup (2.31 -> 2.3). SMBIOS 2.3 present. Handle 0x0009, DMI type 6, 12 bytes Memory Module Information Socket Designation: RAM socket #0 Bank Connections: 0 1 Current Speed: Unknown Type: EDO DIMM Installed Size: 1024 MB (Single-bank Connection) Enabled Size: 1024 MB (Single-bank Connection) Error Status: OK

Previous Page
Next Page