How to check Motherboard/BIOS/Processor/Chassis details from commandline
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.
-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
–dump-bin FILE Dump the DMI data to a binary file
–from-dump FILE Read the DMI data from a binary file
-V, –version Display the version and exit
The most common option is the –type switch which takes one or more of the following keywords:
bios, system, baseboard, chassis, processor, memory, cache, connector, slot
dmidecode –t bios
dmidecode –t 1
=-=-=-=-=-=-=-=-=-=-=-=-=-
[]# dmidecode | grep -A4 ‘Base Board’
Base Board Information
Manufacturer: Supermicro
Product Name: P4SC8
Version: PCB Version
Serial Number: 1234567890
—
[]# dmidecode | grep -A4 ‘BIOS Information’
BIOS Information
Vendor: Phoenix Technologies, LTD
Version: 6.00 PG
Release Date: 03/09/2005
Address: 0xE0000
—
[]# dmidecode | grep -A4 ‘Processor Information’
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Xeon
Manufacturer: Intel
–
Processor Information
Socket Designation: CPU 2
Type: Central Processor
Family: Xeon
Manufacturer: Intel
—
[]# dmidecode | grep -A4 ‘Chassis Information’
Chassis Information
Manufacturer: Supermicro
Type: Main Server Chassis
Lock: Not Present
Version: 1234567890
=-=-=-=-=-=-=-=-=-=-=-=-=-