Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

How do I find out how much ram my computer has? I am running Ubuntu 13.04.

share|improve this question
Note for many solutions it will only tell you how RAM the OS can 'see' (e.g. 32bit without PAE can only see 4GB) – Wilf May 16 at 21:16

3 Answers 3

up vote 12 down vote accepted

If you click on the gear icon (top right of your screen) then click on About this computer. The RAM is the 2nd entry down, below the computer name.


if you run sudo lshw -class memory in your terminal, this gives you the details of all available memory.

share|improve this answer
That will tell you how much RAM the OS can see. – david6 Jun 1 '13 at 1:00

Also easy to use commands to check RAM:

free -lm

Using top command itself or:

top | grep -i mem

Similar to top but a bit more advanced is htop but the package has to be installed sudo apt-get install htop then run:


Will output memory scale in terminal.

Also vmstat can do this:

vmstat -s -SM
share|improve this answer

Open a terminal: CtrlAltT)

Type: sudo lshw

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.