The dmidecode command dumps the system’s Desktop Management Interface (DMI) table and presents it in a human-readable format. The DMI table is an industry-standard for tracking information about hardware components. It separates components into types, with each type given a number—for example, type 4 is a processor, type 39 is a power supply, etc. Like similar commands, you can use dmidecode to verify connected devices and whether or not they support certain features. However, the authors of dmidecode caution that the information in DMI tables is, more often than not, “inaccurate, incomplete, or simply wrong.” Therefore, don’t rely on DMI tables as the sole source of hardware information.

Syntax

The syntax of the dmidecode command is:

dmidecode Command Examples

1. To read memory from file:

2. To be less verbose:

# dmidecode -q
# dmidecode --quite 

3. To print the value of the DMI string:

# dmidecode -s bios-version
# dmidecode --string bios-version

available strings:

bios-vendor,  bios-version,  bios-release-date,  system-manufacturer,  system-product-name,  system-version, 
system-serial-number,  system-uuid,  baseboard-manufacturer board-product-name, baseboard-version, baseboard-serial-number, 
baseboard-asset-tag, chassis- facturer,  chassis-type, chassis-version, chassis-serial-number, chassis-asset-tag, processor-family, 
processor-manufacturer, processor-version, processor-frequency. 

4. To display entries of specified type:

# dmidecode -t TYPE
# dmidecode -t memory
# dmidecode --type memory

Available types:

bios, system, baseboard, chassis, processor, memory, cache, connector, slot.

5. To not decode entries, dump as hexadecimal:

# dmidecode -u
# dmidecode --dump 

6. To dump the DMI data into file:

# dmidecode --dump-bin /tmp/file.txt 

7. To display the usage information:

8. To display the version and exit:

# dmidecode -V
# dmidecode --version 

9. To list the BIOS:

10. To list the System:

# dmidecode -t 1
--------------------------------------------------------
SMBIOS 2.4 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: VMware
        Product Name: VMware Platform
        Version: None
        Serial Number: VMware-XX XX XX XX XX XX XX
        UUID: 12252f1252645623sfdt342317q
        Wake-up Type: Power Switch
        SKU Number: Not Specified
        Family: Not Specified

11. To list the Base Board:

# dmidecode -t 2

# dmidecode 2.10
SMBIOS 2.4 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: Intel Corp
        Product Name: 440BX Desktop Reference Platform
        Version: None
        Serial Number: None
        Asset Tag: Not Specified
        Features: None
        Location In Chassis: Not Specified
        Chassis Handle: 0x0000
        Type: Unknown
        Contained Object Handles: 0

12. To list the Chassis:

# dmidecode -t 3

SMBIOS 2.4 present.

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

13. To list the Processor:

# dmidecode -t 4

Processor Information
        Socket Designation: CPU socket #63
        Type: Central Processor
        Family: Unknown
        Manufacturer: 000000000000
        ID: 00 00 00 00 00 00 00 00
        Version: 00000000000000000000000000000000
        Voltage: 3.3 V

14. To list the Memory Controller:

# dmidecode -t 5
# dmidecode 2.10
SMBIOS 2.4 present.

Handle 0x0044, DMI type 5, 46 bytes
Memory Controller Information
        Error Detecting Method: None
        Error Correcting Capabilities:
                None
        Supported Interleave: One-way Interleave
        Current Interleave: One-way Interleave
        Maximum Memory Module Size: 32768 MB
        Maximum Total Memory Size: 491520 MB
        Supported Speeds:
                70 ns
                60 ns
        Supported Memory Types:
                FPM
                EDO
                DIMM
                SDRAM

15. To list the Memory Module:

16. To list the Cache:

17. To list the Port Connector:

18. To list the System Slots:

19. To list the On Board Devices:

20. To list the OEM Strings:

21. To list the System Configuration Options:

22. To list the BIOS Language:

23. To list the Group Associations:

24. To list the System Event Log:

25. To list the Physical Memory Array:

26. To list the Memory Device:

27. To list the 32-bit Memory Error:

28. To list the Memory Array Mapped Address:

29. To list the Memory Device Mapped Address:

30. To list the Built-in Pointing Device:

31. To list the Portable Battery:

32. To list the System Reset:

33. To list the Hardware Security:

34. To list the System Power Controls:

35. To list the Voltage Probe:

36. To list the Cooling Device:

37. To list the Temperature Probe:

38. To list the Electrical Current Probe:

39. To list the Out-of-band Remote Access:

40. To list the Boot Integrity Services:

41. To list the System Boot:

42. To list the 64-bit Memory Error:

43. To list the Management Device:

44. To list the Management Device Component:

45. To list the Management Device Threshold Data:

46. To list the Memory Channel:

47. To list the IPMI Device:

48. To list the Power Supply:

49. To list the Additional Information:

50. To list the on-board Device: