Jump to content
Sign in to follow this  
PiNoY

Ways of locating hardware and other computer specifications

Recommended Posts

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:

 

[root@mail 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

Share this post


Link to post
Share on other sites
Sign in to follow this  

×