LinuxQuestions.org
Help answer threads with 0 replies.
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, 03:11 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Rep: Reputation: 46
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, 03:35 PM   #2
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 601

Rep: Reputation: 96
...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, 03: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, 04:47 PM   #4
wpeckham
Senior Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 1,660

Rep: Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584
hardware inventory

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

Rep: Reputation: 42
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, 09:32 AM   #6
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
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, 09:46 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,362
Blog Entries: 12

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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 09:48 PM.
 
  


Reply


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 01:47 AM
Hardware inventory report Woodsman Slackware 2 11-22-2005 06:36 PM
Hardware Inventory jturnbul Slackware 1 10-30-2004 11:26 PM
how to inventory hardware on an existing system? jbeiter Linux - Hardware 2 08-04-2004 11:23 AM
Hardware Inventory - hwinfo - All Distros codegomer Linux - General 4 03-02-2004 07:21 PM


All times are GMT -5. The time now is 08:57 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration