| Linux: How to check the hardware |
| Written by pH |
| Wednesday, 02 December 2009 08:46 |
|
I've noticed there are no good tutorials on how to check what hardware you have installed on your machine. In Linux there are many ways doing this so it's not an issue but you have to know the needed commands.
I'll start step by step checking different devices on your computer but there is a tool wich shows all so if you don't want to read much just scroll down to the lshw command.
Check on the CPU: Here is the command that will help you to see what CPU you have installed: root@Linux ~# cat /proc/cpuinfo This will print the whole needed information for your CPU. Here is an example: processor : 0
Checking VGA, LAN and wireless adapters, chipset etc: root@Linux ~# lspci Example result: 00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
Checking the hard drives: root@Linux ~# fdisk -l Example: isk /dev/hda: 80.0 GB, 80026361856 bytes
lshwThe easiest way to check all the hardware installed on your box is the lshw command. Using this command you can see all the hardware. Use the update manager of your distribution to install it if the command line says that the command doesn't exist. The package name is lshw as well. root@Linux ~# lshw I won't paste an example for this command since the result is always too huge but it lists everything you need to know.
I hope it was helpful. |
| Last Updated on Wednesday, 02 December 2009 08:52 |
















Comments (0)