Check Linux Hardware Info

dmidecode displays the hardware information reported by the system’s DMI/SMBIOS firmware tables, including the model, BIOS revision and serial number.

Display hardware details

sudo dmidecode

Filter the output when you only need a particular component:

sudo dmidecode -t system
sudo dmidecode -t bios
sudo dmidecode -t memory

For a system serial number:

sudo dmidecode -s system-serial-number

Use an authorized account with sufficient access to read the tables. Firmware values may be missing or inaccurate. In a virtual machine, the displayed information usually describes the virtual hardware rather than the physical host.

The HP ProLiant and SMBIOS 2.3 output in the original example was specific to that machine; your output will differ.

Reference: dmidecode manual.

You May Also Like

Leave a Reply?