|
|||||||
| Linux Operating Systems Talk about all Linux distributions and software here! |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
gargouille
Join Date: Jun 2002
Location: sector ZZ9 Plural Z Alpha
Posts: 962
Rep Power: 0 ![]() |
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 |
|
|
|
|
|
#2 |
|
Get off my lawn!
|
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. |
|
|
|
|
|
|
|
gargouille
Join Date: Jun 2002
Location: sector ZZ9 Plural Z Alpha
Posts: 962
Rep Power: 0 ![]() |
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 |
|
|
|
|
|
#4 |
|
A Legend in Underwear
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 0 ![]() |
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 |
|
|
|
|
|
|
|
gargouille
Join Date: Jun 2002
Location: sector ZZ9 Plural Z Alpha
Posts: 962
Rep Power: 0 ![]() |
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 |
|
|
|
![]() |
| Thread Tools | |
|
|