Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to find out details about hardware on the Linux machine?

How can I get processor/RAM/disk specs from the Linux command Line?

share|improve this question

marked as duplicate by Dennis Williamson, Zypher, splattne Feb 13 '10 at 18:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


$ cat /proc/cpuinfo

Memory :

$ free
$ cat /proc/meminfo


$ df -h
$ sudo fdisk -l
$ hdparm -i /dev/device (for example sda1, hda3...)

share|improve this answer
cat /proc/cpuinfo is brilliant, never knew about this. Thanks – Zubair Feb 14 '10 at 9:24

lshw command is also really useful to get a lot of information about all the hardware !

share|improve this answer
sudo lshw | less – William Jul 1 at 3:38

hwinfo would be one way to do it.

share|improve this answer

sudo dmidecode will also give you more hardware info than you ever wanted.

share|improve this answer

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