Jump to content

  • Log in with Facebook Log in with Twitter Log In with Steam Log In with Google Sign In
  • Create Account

Tutorial info Visit support topic

  • Added on: Jul 17 2012 01:13 AM
  • Views: 685
 


Ways of locating hardware and other computer specifications

This simple tutorial shows how to get hardware specifications under Linux OS like Redhat, CentOS and Fedora in general.

Posted by PiNoY on Jul 17 2012 01:13 AM
If you are using RedHat, CentOS, or Fedora OS, here's how to list down and get your hardware specification .

First, install a linux rpm package called lshw.

lshw Description

lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or EFI (IA-64) systems and on some PowerPC machines (​PowerMac G4 is known to work).

Reference: http://ezix.org/proj.../HardwareLiSter


Now, go to your console and install lshw rpm package like so

yum install lshw

lshw usage:


For short hard drive specs

lshw -short -class disk


For short RAM (memory)

lshw -short -class memory

Sample Output:

[[email protected] f6]# lshw -short -class memory
H/W path		 Device	 Class	 Description
======================================================
/0/0						 memory	 64KiB BIOS
/0/400/700					 memory	 128KiB L1 cache
/0/400/701					 memory	 6MiB L2 cache
/0/1000						 memory	 [b]4GiB System Memory[/b]
/0/1000/0					 memory	 [b]2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns)[/b]
/0/1000/1					 memory	 [b]2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns)[/b]
/0/1000/2					 memory	 DIMM DDR2 Synchronous [empty]
/0/1000/3					 memory	 DIMM DDR2 Synchronous [empty]
/0/1000/4					 memory	 DIMM DDR2 Synchronous [empty]
/0/1000/5					 memory	 DIMM DDR2 Synchronous [empty]



General Usage
lshw --help