LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-03-2011, 02:11 PM   #1
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
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
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 615

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

See http://embraceubuntu.com/2007/02/18/...your-computer/
 
1 members found this post helpful.
Old 03-03-2011, 02:37 PM   #3
valen_tino
Member
 
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
Code:
cat /proc/cpuinfo
Code:
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
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,615

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
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
Member
 
Registered: Sep 2009
Location: UK
Distribution: Slackware, Arch
Posts: 75
Blog Entries: 4

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

Code:
cat /proc/cpuinfo 
cat /proc/meminfo 
lspci
...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
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
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
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 AM.

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