Showing results for 
Search instead for 
Did you mean: 

hwinfo on RHEL ?

Go to solution
Super Advisor

hwinfo on RHEL ?

Hi all,

I was looking for 'hwinfo' which can run on RHEL 5. But I couldn't find one. Does it support RHEL at all?

Maybe the source of it can be used on RHEL?

Any help or comment would be appreciated!

Valued Contributor

Re: hwinfo on RHEL ?

Not sure if it will work or not, but you might try lshw(hardware lister.) It is similar to lspci. You can get it at

Also has an optional gui and can output in different formats.

below is output from a RHEL 5 system that I have lshw installed on.

#cat /etc/issue
Red Hat Enterprise Linux Server release 5 (Tikanga)

lshw-B.02.12.01]# lshw -h
Hardware Lister (lshw) - B.02.12.01
usage: lshw [-format] [-options ...]
lshw -version

-version print program version (B.02.12.01)

format can be
-html output hardware tree as HTML
-xml output hardware tree as XML
-short output hardware paths
-businfo output bus information

options can be
-class CLASS only show a certain class of hardware
-C CLASS same as '-class CLASS'
-disable TEST disable a test (like pci, isapnp, cpuid, etc. )
-enable TEST enable a test (like pci, isapnp, cpuid, etc. )
-quiet don't display status
-sanitize sanitize output (remove sensitive information like serial numbers, etc.)

Super Advisor

Re: hwinfo on RHEL ?

Thanks Justin.

I have lshw and dmidecode already installed.

I was thinking of getting "hwinfo" installed so I would know what makes it different than these two.

Super Advisor

Re: hwinfo on RHEL ?

Honored Contributor

Re: hwinfo on RHEL ?

I don't think there is a RHEL version of "hwinfo". Please note "hwinfo" is basically a SUSE Linux tool. It does require some SUSE specific libraries to run. I tried it's source code to compile on the RHEL but it failed.

The "dmidecode" is good tool to get the detailed h/w information. I have found that it's better than "lshw".

I hope this helps.
Super Advisor

Re: hwinfo on RHEL ?

I think you are right about "hwinfo".

I found that "ipmitool" is useful in terms of getting VPD and parts information like p/n etc.

The "dmidecode" doesn't show the p/n.