Go Back   DriverHeaven.net > Forums > Software / Tools > Linux Operating Systems

Notices

Reply
 
LinkBack Thread Tools Display Modes
Old Nov 2, 2006, 03:39 PM   #1 (permalink)
merry
gargouille
 
merry's Avatar
 
Join Date: Jun 2002
Location: sector ZZ9 Plural Z Alpha
Posts: 961
merry is on a distinguished road

Hardware info from the command line

My g/f needs some help with a linux task, and it's beyond my capability...

She is looking for a way to determine h/w info using command line utilities - number/type/frequency of processors, amount of RAM, motherboard, number/manufacturer of harddisks, type of VGA etc. This is for easy cataloguing the hardware on a number of servers in an institution, the person doing this should be able to gather as much info as possible in a short amount of time, also with "regular" commands (available on various distributions).


If you can help... please do

Thanks in advance
__________________
There is a war between the ones who say there is a war
and the ones who say there isn't.
~~Leonard Cohen
merry is offline   Reply With Quote
Old Nov 2, 2006, 05:11 PM   #2 (permalink)
Erroneus
Tweaking new 8800GT ;D
 
Erroneus's Avatar
 
Join Date: Aug 2002
Location: Denmark
Posts: 12,484
Erroneus will become famous soon enoughErroneus will become famous soon enough

cat /proc/cpuinfo
cat /proc/meminfo

It doesn't show all, but it's a start

And there is proberly more options in the cat /proc/ , like devices, but not sure.
__________________
Erroneus is offline   Reply With Quote
Old Nov 2, 2006, 05:22 PM   #3 (permalink)
merry
gargouille
 
merry's Avatar
 
Join Date: Jun 2002
Location: sector ZZ9 Plural Z Alpha
Posts: 961
merry is on a distinguished road

Wow, that was quick, thanks

Looking forward for more input Remeber folks, it's not for ugly me, but for my lovely g/f
__________________
There is a war between the ones who say there is a war
and the ones who say there isn't.
~~Leonard Cohen
merry is offline   Reply With Quote
Old Nov 6, 2006, 06:12 AM   #4 (permalink)
UberLord
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,256
UberLord is on a distinguished road

lspci is a good one, showing all pci connected devices and information. Look into the -l and -v options too.

As to type of harddisks and stuff, you can grep/sed dmesg (use /var/log/dmesg, not dmesg itself)
For example to list all ata connected disks
grep -E "^ata[0-9]+:" /var/log/dmesg
Or use hdparm
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Old Nov 6, 2006, 01:27 PM   #5 (permalink)
merry
gargouille
 
merry's Avatar
 
Join Date: Jun 2002
Location: sector ZZ9 Plural Z Alpha
Posts: 961
merry is on a distinguished road

Thanks, Uber, I've also found something called hwinfo. Alas, the system turned out to be OpenBSD...

I guess your suggestions will work, especially the grep/dmesg one should be global unix.
__________________
There is a war between the ones who say there is a war
and the ones who say there isn't.
~~Leonard Cohen
merry is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 02:59 AM. Copyright ©2008 DriverHeaven.net