LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   After upgraded to 6.0.4, free -m makes no sense (http://www.linuxquestions.org/questions/debian-26/after-upgraded-to-6-0-4-free-m-makes-no-sense-932675/)

raindog308 03-04-2012 12:27 PM

After upgraded to 6.0.4, free -m makes no sense
 
I'm running Debian 6.0.4 on an OpenVZ container. The container has 1GB of memory (2GB burst). This is with a very good provider who has not changed anything in the last few hours.

Here is what free -m says:

Code:

            total      used      free    shared    buffers    cached
Mem:        10984      10911        73          0        248      3810
-/+ buffers/cache:      6852      4132
Swap:        3813        122      3691

What? Here is free -g:

Code:

            total      used      free    shared    buffers    cached
Mem:            10        10          0          0          0          3
-/+ buffers/cache:          6          3
Swap:            3          0          3

I know my VPS doesn't have 10GB of RAM :-)

In 6.0.3, it said 2GB total - which is what I would expect under OpenVZ.

Did something radically change in 6.0.4?

fatmac 03-05-2012 01:33 PM

free -m works as expected on my normal 6.0.4 installation.

(Just so you know distro is OK; clean install to a root partition, /home & swap on seperate partitions.)


All times are GMT -5. The time now is 05:21 PM.