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