Linux : Hardware Lister

By | January 28, 2012

Need to show full hardware contained inside a Linux machine (board, cpu, memory, pci slots, etc.) such as you do on Windows with AIDA, Sandra, etc?

Hardware Lister (lshw) is the answer.

http://ezix.org/project/wiki/HardwareLiSter [official site : external link]

You can shot the full output using the command

lshw

Or redirect the listing in a plain text file if too many information displayed using this command :

lshw > HardwareReport.txt

You may also generate a HTML report :

lshw -html > HardwareReport.html

How to grep the output for specific hardware class :

lshw -class <CLASS>

Example, you want to print out the output of physical drives you should :

lshw -class disk