Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-03-2011, 02:11 PM   #1
Senior Member
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,695

Rep: Reputation: 48
how to perform a hardware inventory

is there an easy way for me to get the hardware specs of a linux machine, such as number and type of processors, RAM, BIOS version, # of power supplies, etc from a command line?

I'm dealing with Dell servers, but even if i can just get number and type of processors and RAM config, that'd be great. I know how to easily do it in Windows, no clue on Linux.
Old 03-03-2011, 02:35 PM   #2
Registered: May 2006
Distribution: Debian
Posts: 608

Rep: Reputation: 98
...lshw... (you may need to install this first)

1 members found this post helpful.
Old 03-03-2011, 02:37 PM   #3
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
cat /proc/cpuinfo
cat /proc/meminfo
will provide the CPU and RAM info on RHEL machiches.

I would use Dell Open Manage Server Administrator to pull all the hardware info that you listed.
1 members found this post helpful.
Old 03-03-2011, 03:47 PM   #4
Senior Member
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,198

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
hardware inventory

Or from remote using SNMP. There are some excellent OSS tools for provisioning and polling using this protocol.
Old 03-03-2011, 04:44 PM   #5
Ignotum Per Ignotius
Registered: Sep 2009
Location: Wales, UK
Distribution: Slackware, CrunchBang
Posts: 69
Blog Entries: 4

Rep: Reputation: 42
I was about to suggest the usual...

cat /proc/cpuinfo 
cat /proc/meminfo 
...etc. --- until I saw arochester's post. I'd not come across lshw before, so I wandered over to Slackbuilds and there it was.

It's pretty nifty, too: thanks for the tip!
Old 03-04-2011, 08:32 AM   #6
Senior Member
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,695

Original Poster
Rep: Reputation: 48
Thanks. I was hoping to accomplish this without having to install anything, other than possibly dell openmanage. Thanks for all your replies.
Old 03-04-2011, 08:46 PM   #7
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,268
Blog Entries: 16

Rep: Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125
I recommend installing hardinfo, if it's not already there.

It takes up very little room and returns lots of information.

Last edited by frankbell; 03-04-2011 at 08:48 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to gather hardware inventory in Solaris? anuradha06 Solaris / OpenSolaris 17 12-25-2008 12:47 AM
Hardware inventory report Woodsman Slackware 2 11-22-2005 05:36 PM
Hardware Inventory jturnbul Slackware 1 10-30-2004 10:26 PM
how to inventory hardware on an existing system? jbeiter Linux - Hardware 2 08-04-2004 10:23 AM
Hardware Inventory - hwinfo - All Distros codegomer Linux - General 4 03-02-2004 06:21 PM

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration