Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just upgraded my netbook from 1 gb of RAM to 2, but when I type free -g, it only says that I have 1 gb. How do I get it to detect all of my RAM?

share|improve this question
    
Please, accept some of your answers if they help you. –  Anwar Shah Jul 4 '12 at 3:32
add comment

1 Answer

up vote 4 down vote accepted

If you use free -g it show your memory round to non decimal numbers. Because of this it shows you just 1GB.

An example: I have 8GB of ram:

  1. free will show "8167800"
  2. because it divides with 1024 free -m will show "7976"
  3. free -g will show "7" because it divides with 1024*1024

So free -g is not really helpful if you have the typical among of memory for a PC.

share|improve this answer
add comment

Your Answer

 
discard

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.