is there a standard command-line for linux answering a description of the server (model, number of cores(?), speed(?)...)?

Thanks, Pierre

link|improve this question

67% accept rate
feedback

5 Answers

up vote 9 down vote accepted

Not really no (in general, how do you define "description"?), but you can pull most of that info using dmidecode.

link|improve this answer
5  
That'll work for server make, model, etc. If he just wants the type and number of cores, $ cat /proc/cpuinfo will do just fine. – ErikA Jan 28 '10 at 16:12
feedback

Ubuntu provides lshw in ubuntu-standard, it will be on any distribution ending with "untu". Many other distributions have their own tools, a lot of it can be found in /proc. You can find the man page for lshw here

link|improve this answer
feedback

dmesg shows load of your hardware too.

link|improve this answer
5  
If your machine has been up for a while dmesg may no longer have the boot messages. If that's a case look for a /var/log/dmesg.boot file which will have the boot messages. – voretaq7 Jan 28 '10 at 16:21
feedback
cat /proc/cpuinfo = CPU information
lspci = Shows PCI card Hardware name
uname -a = Shows kernel version, architecture & build date/host
cat /proc/meminfo = memory (wired + vm) info

These have worked on every linux system i've seen. lspci is part of the pciutils package, and relies on a database of PCI id's. The stuff in /proc would only be the pci id's)

link|improve this answer
feedback

Try these:

# uname -a

# dmidecode

# vpddecode
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.