Dmidecode

Dmidecode is an excellent tool useful for administrators to list all the hardware information described in your system BIOS according to the SMBIOS/DMI standard. The information typically list the following information like

  • system manufacturer
    model name
    serial number
    BIOS version
    CPU sockets
    expansion slots (e.g. AGP, PCI, ISA)
    memory module slots
    List of I/O ports (e.g. serial, parallel, USB)

Dmidecode also comes with three additional tools :

  • biosdecode
    ownership
    ownership

Installing Dmidecode

Dmidecode rpm can be download from here

To install it from source

  • # cd /usr/src
  • # wget http://ftp.igh.cnrs.fr/pub/nongnu/dmidecode/dmidecode-2.9.tar.gz
  • # tar zxvf dmidecode-2.9.tar.gz
  • # cd dmidecode

    # make && make install

    # dmidecode -h (to list the help menu)


Usage: dmidecode [OPTIONS]

Options are:
-d, –dev-mem FILE Read memory from device FILE (default: /dev/mem)
-h, –help Display this help text and exit
-q, –quiet Less verbose output
s, –string KEYWORD Only display the value of the given DMI string
-t, –type TYPE Only display the entries of given type
-u, –dump Do not decode the entries
-V, –version Display the version and exit

Click here for sample output

Useful Links : Dmidecode home page