Linux : Hardware Information

In this post, I’m going to give some list of Linux commands, which is very useful to get system hardware information.

#Shows messages in kernel ring buffer


#Shows CPU information

cat /proc/cpuinfo

#Shows free & used memory ( -h for human readable, -m for MB, -g for GB)

free -h

#Shows PCI devices

lspci -tv

#Shows USB devices

lsusb -tv

#Show DMI/SMBIOS ( Hardware info ) from the BIOS


#Shows info about disk sda

hdparm -i /dev/sda

#Perform a read speed test on disk sda

hdparm -tT /dev/sda

#Test for unreadable blocks on the disk sda

badblocks -s /dev/sda

To contribute :

” If you like Advance Computing and would like to contribute, you can  mail your article to “”. You will get credit as your name , email id, designation with article on this blog. “

Leave a Reply