- Refer to the /proc directory. This directory contains a few files that can give you information about your hardware such as memory (meminfo), processor (cpuinfo), partitions (partition) and many more
- Use "lspci" command. This is a command to list all pci devices connected to your machine
- Use "lshw" command. This command will list out all hardware installed on your system. Available in ubuntu
- Use "kudzu -p" command. This is redhat/centos hardware probing and installing tool. Use "kudzu -p" to display all the hardware connected to the system
- Use "dmidecode" command. This is a tool for dumping bios information into human readable form
- Run "lsusb" to list out all usb devices. Thanks to KwangErn Liew for the suggestion in the comment.
Thursday, December 18, 2008
Knowing your hardware
In linux, there are a few ways that you can know you hardware details without opening the chassis of your machine. Below are a few ways that I know and hopefully can help linux users out there;