For most of the time I have been using `lshw` (list hardware) happily under Ubuntu. But yesterday, I had a situation wherein I need to find out the hardware of the machine in Rocks Linux. I did not think of installing `lshw` on the machine, but wanted to find out whether there are other commands from where I can get the hardware information including BIOS. So after doing some google search, came up with `dmidecode`.
`dmidecode` is a tool for dumping a computer’s DMI (Desktop Management Interface) table contents in a human-readable format. This table contains a description of the system’s hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision.
root@ophiophagus:~$ dmidecode -t
dmidecode: option requires an argument — t
Type number or keyword expected
Valid type keywords are:
root@ophiophagus:~$ dmidecode -t bios < List BIOS information>
Use the above types for getting the hardware information for the machine.
Leave a Reply