98

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?

yazz.com
  • 7,953

4 Answers4

149

CPU

$ cat /proc/cpuinfo

Memory :

$ free
$ cat /proc/meminfo

HDD:

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

Jakov Sosic
  • 5,407
Jindrich
  • 5,019
35

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

sebthebert
  • 1,254
10

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

Jimatw
  • 103
jbroome
  • 141
8

hwinfo would be one way to do it.

Helvick
  • 20,969