Re: Physical memory size allocated for each process!

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

 



<Allan.Bezerra@indt.org.br> writes:

> I think that it's impossible to /proc provide the stack, heap, data
> and code size allocated in physical memory (not virtual memory). I
> would like to know how can I change the kernel 2.6 to provide these
> information separately.

Also, you'll have to consider the case when a page from process "foo"
is still in physical memory but is in the swap cache.  Do you count it
as in foo's physical memory or not?

-- 
--Ed L Cashin            |   PGP public key:
  ecashin@uga.edu        |   http://noserose.net/e/pgp/

--
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