Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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.

add comment

4 Answers 4

CPU

$ cat /proc/cpuinfo

Memory :

$ free
$ cat /proc/meminfo

HDD:

$ 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
add comment

hwinfo would be one way to do it.

share|improve this answer
add comment

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

share|improve this answer
add comment

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

share|improve this answer
add comment

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