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.

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.

4 Answers 4


$ 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

hwinfo would be one way to do it.

share|improve this answer

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

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.