Re: VmSiZE to physical memory mapping

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

 



Hi...

Allow me to share my (lousy) knowledge
> What parameter should i use for these five processes such that
>
> parameter(A) + parameter(A) + parameter(A) + parameter(A) +
> parameter(A) = (MemTotal - MemFree)
>
you mean:
parameter(A) + parameter(B) + parameter(C) + parameter(D) +
 parameter(E) = (MemTotal - MemFree)

What you need is RSS (resident set size) property of each process. This 
RSS field represent the size of physical memory consumed by individual 
process.

But, you must realize that memory is not consumed only by process. 
Buffers and page cache (buffers is also a part of page cache, though) 
also eat your RAM. You can use "top" or "free" to check it. So "free" 
here actually means "RAM area that is still not allocated for any 
purpose".

Feel free to ask again if you need more information.

regards,

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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