dmidecode¶
tool for listing hardware information and decoding it into human readable form. This tool decodes the DMI information.
Examples¶
Show system serial number¶
Show memory info including max installable¶
Show bios version¶
You may need to grep for a different string, but even then it doesn't always show the info because not all machines support this.
Shower power supply information¶
This doesn't always work. Some power supplies are not supported.
See Also¶
Show all keywords and their values:¶
## -s without a keyword lists all keywords
## -s with a keyword shows only the value of that keyword
dmidecode -s |& grep '^ ' | while read -r X ; do echo $X: $(sudo dmidecode -s $X) ; done ;
- lshw - list hardware