Jump to content

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.