how to find the server config in linux

Dear Experts:

Iam having HP Proliant server running RHEL5 how to find the complete hardware configuration of the server from the terminal using command, iam aware using cat/proc/meminfo and cpuinfo but is there any command where exectuted will give complete hardware information , mem, cpu , etc. Please suggest.

Thanks in advance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

try to use "dmidecode" utility.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cat /etc/sysconfig/hwconf

Just to list hardware

Open in new window

As the expert pilson66 already mentioned, dmidecode is a very strong utility, but it dumps too much information.  If you want to see on type of information at a time you can do the following.

Here is your chart

Keyword     Types
       bios        0, 13
       system      1, 12, 15, 23, 32
       baseboard   2, 10, 41
       chassis     3
       processor   4
       memory      5, 6, 16, 17
       cache       7
       connector   8
       slot        9

So if you need BIOS, you can say
dmidecode --type bios

Open in new window

Or you can also say.
dmidecode --type 0,13

Open in new window

Downside, some times it does not recognize --type so then you will have to use grep.

If you want bios information you can use

Open in new window

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.