[CentOS] free memory listing

Ashish Yadav gwalashish at gmail.com
Tue Dec 18 06:26:44 UTC 2012


free displays the total amount of free and used physical and swap memory in
the system. In your case "free -g" it showing you how much memory you are
using right now in gigabits.


On Tue, Dec 18, 2012 at 11:52 AM, AshikAli.m <ashikali.m at gmail.com> wrote:

> Hi,
>
> I have two 64 bit cent Os machine. I googled that in linux always show
> entire memory as used. But below showing only 1 GB  detected.
>
>
> *Machine 1  :*
> i) It has 31 GB of ram.
>
> [root at machine1]# free -g
>                  total       used       free     shared    buffers
> cached
> Mem:            31          1         30          0          0          0
> -/+ buffers/cache:          0         30
> Swap:           49          0         49
> ------------------------------------------
>
> *Machine 2 :*
> i)It has 11 GB of ram.
>
> [root at machine2]# free -g
>                   total       used       free     shared    buffers
> cached
> Mem:            11         11          0          0          0          9
> -/+ buffers/cache:        1         10
> Swap:           49          0         49
>
>
> Could you please anyone can explain why ?
>
>
> Thanks,
> Ashik
> -*
> *
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list