From Gentoo Wiki
This article is a stub. Please help out by expanding it - how to get started.
dmidecode (DMI table decoder) is software that reports information about a system's hardware as described in SMBIOS. It is useful to determine information captured on motherboard's System Management BIOS. Information can contain manufacturer, module number, serial number, base board model, etc.
USE flags for sys-apps/dmidecode DMI (Desktop Management Interface) table related utilities
||!!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur|
emerge --ask sys-apps/dmidecode
Get system serial number
If the serial number tag is set in the DMI table, it can be extracted using the following command:
dmidecode -s system-serial-number
- Lshw — a hardware detection utility for Linux.
- Lspci — contains various utilities dealing with the PCI bus (primarily lspci).
- Lsusb — a collection various utilities for querying the the Universal Serial Bus (USB).