April 7, 2014

Get Hardware Information on Linux with lshw Command

Lshw - List hardware
Lshw is a nifty small command line utility that generates detailed reports about various hardware components on the system. It does so by reading different files in the /proc directory.
Lshw is capable of reporting memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed etc.
Install lshw
Ubuntu, Debian and Fedora users can get it from default repositories. On CentOS lshw can be installed from Epel repo.
# ubuntu, debian
$ sudo apt-get install lshw

# fedora, centos (epel)
$ sudo yum install lshw
Using lshw
The lshw command needs to run with super privileges to be able to detect and report the maximum amount of information. So run as root, or use sudo.
Lshw assorts hardware components into groups called "class". Processor, memory, display, network, storage are all different classes.
1. Display full information
Running lshw without any options would generate full information report about all detected hardware. It would generate a big output with quite a lot of technical details
$ sudo lshw
description: Desktop Computer
product: ()
width: 64 bits

Read full post here
Get hardware information on Linux with lshw command

Read more at Binary Tides
Click Here!