
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 dmidecodeFilter the output when you only need a particular component:
sudo dmidecode -t system
sudo dmidecode -t bios
sudo dmidecode -t memoryFor a system serial number:
sudo dmidecode -s system-serial-numberUse 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.


