Monday, 2 March 2015

Knowing your hardware on Linux

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;
  1. 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
  2. Use “lspci” command. This is a command to list all pci devices connected to your machine
  3. Use “lshw” command. This command will list out all hardware installed on your system. Available in ubuntu
  4. 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
  5. Use “dmidecode” command. This is a tool for dumping bios information into human readable form

No comments:

Post a Comment