Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Thanks, Pierre

share|improve this question

5 Answers 5

up vote 11 down vote accepted

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

share|improve this answer
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. –  EEAA Jan 28 '10 at 16:12

dmesg shows load of your hardware too.

share|improve this answer
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

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

share|improve this answer
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)

share|improve this answer

Try these:

# uname -a

# dmidecode

# vpddecode
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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