Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linuxcommandguide:hardware [2014/11/04 15:48] (current)
Line 1: Line 1:
 +$ **dmesg** => Detected hardware and boot messages ([[http://​en.wikipedia.org/​wiki/​Dmesg|dmesg many more options]]) \\ 
 +$ **cat /​proc/​cpuinfo** => CPU model \\ 
 +$ **cat /​proc/​meminfo** => Hardware memory \\ 
 +$ **cat /​proc/​interrupts** => Lists the number of interrupts per CPU per I/O device \\ 
 +$ **lshw** => Displays information on hardware configuration of the system \\ 
 +$ **lsblk** => Displays block device related information in Linux (sudo yum install util-linux-ng) \\ 
 +$ **free -m** => Used and free memory (-m for MB) ([[http://​linux.die.net/​man/​1/​free|free command in detail]]) \\ 
 +$ **lspci -tv** => Show PCI devices (very useful to find vendor ids) \\ 
 +$ **lsusb -tv** => Show USB devices ([[http://​linux.die.net/​man/​8/​lsusb|read more lsusb options]]) \\ 
 +$ **lshal** => Show a list of all devices with their properties \\ 
 +$ **dmidecode** => Show hardware info from the BIOS  \\ 
 +$ **hdparm -i /dev/sda** => # Show info about disk sda \\ 
 +$ **hdparm -tT /dev/sda ** => # Do a read speed test on disk sda \\ 
 +$ **badblocks -s /dev/sda** => # Test for unreadable blocks on disk sda \\