LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to perform a hardware inventory (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-perform-a-hardware-inventory-866271/)

anon091 03-03-2011 02:11 PM

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.

arochester 03-03-2011 02:35 PM

...lshw... (you may need to install this first)

See http://embraceubuntu.com/2007/02/18/...your-computer/

valen_tino 03-03-2011 02:37 PM

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.

wpeckham 03-03-2011 03:47 PM

hardware inventory
 
Or from remote using SNMP. There are some excellent OSS tools for provisioning and polling using this protocol.

Ignotum Per Ignotius 03-03-2011 04:44 PM

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! :)

anon091 03-04-2011 08:32 AM

Thanks. I was hoping to accomplish this without having to install anything, other than possibly dell openmanage. Thanks for all your replies.

frankbell 03-04-2011 08:46 PM

I recommend installing hardinfo, if it's not already there.

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


All times are GMT -5. The time now is 12:14 PM.