Walker News

How To Check Hardware Information On Linux System?

On Microsoft Windows, one can use System Information (msinfo32.exe) or Device Manager (devmgmt.msc) to list out hardware components installed on the system.

On Linux, the equivalent program is dmidecode – a handy command-line utility for sysadmin to find out hardware information right from the operating system, without having to open chassis for visual inspection.
If you’re looking for a neat GUI program like Windows Device Manager, can try the “hardware lister” (lshw).

The dmidecode package is bundled with Red Hat Enterprise Linux distribution (and is likely come with CentOS distribution as well). If it’s not in your distribution, just go download one from official website or dmidecode for Windows.

Few examples of using dmidecode

To find out the number of physical CPU and core, processor model, speed, and features, etc:
dmidecode --type processor

To find out total number of memory and RAM slot available on the system:
dmidecode --type memory | egrep "Capacity:|Size:"

To display all hardware components detected by utility, just execute dmidecode at Linux command prompt.

NOTE: The accuracy is depends on what the BIOS reports to dmidecode (the program doesn’t scan the hardware for details). Having said that, for precise hardware info, you might have to open chassis and disassemble components for inspection.

Custom Search

2014  •  Privacy Policy