Dmidecode reports information about your system’s hardware as described in your system BIOS. This command gives you vendor name, model name, serial number, BIOS version, asset tag as well as a lot of other details. This will 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). A pretty useful command for sysadmins to prepare their system inventory.

# which dmidecode
/usr/sbin/dmidecode
# dmidecode 2.2

SMBIOS 2.3 present.
87 structures occupying 3227 bytes.
Table at 0x000FA920.
Handle 0xDA00
        DMI type 218, 11 bytes.
        OEM-specific Type
                Header And Data:
                        DA 0B 00 DA D9 00 17 00 0E 20 00
Handle 0x0000
        DMI type 0, 20 bytes.
        BIOS Information
                Vendor: Dell Computer Corporation
                Version: A05
                Release Date: 09/22/2006
                Address: 0xF0000
                Runtime Size: 64 kB
<snip>