Re: How much memory is really free?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





> unused = free + buffers + cached
>
> sorry for not turning on my brain in the first posting :-)
>
> Sven

I think you are right. I can just treat unused = free + buffers + cached. BUT, there is another problem. Like for my machine, I have been let the machine running for a long time. I used kinfocenter to have a visual look of the memory useage: a huge portion of the total memory is used by 'application data', and I think most of the memory used by applicaiton data is just cached data because I don't have a lot programs running. In this case, the unused memory is very small. So, is there a user mode command or kernel function I can use to flush all the un-necessary cached data in the memory. Below is the output of comnad "free -m" on my system.

                    total       used       free     shared    buffers     cached
Mem:           993        983         10          0         66         78
-/+ buffers/cache:     839        154
Swap:         4000      534       3465

Regards!

Fei



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux