[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Physical memory size allocated for each process!
On Thu, Nov 13, 2003 at 08:19:36AM -0400, Allan.Bezerra@indt.org.br wrote:
|Hi all,
|
|I was trying to get the stack, heap, data and code size separately allocated in physical memory but I did not manage to get them from /proc.
|
|I took a look the linux kernel source 2.6, but I did not discover any variables or structures about stack, heap, data and code size allocated in physical memory.
|
|I just found those information allocated in virtual memory.
|
|Please, could anybody help me?
as i said before, look at the "struct mm_struct "
--
Daniele.
"I could have made money this way, and perhaps amused myself writing code.
But I knew that at the end of my career, I would look back on years of
building walls to divide people, and feel I had spent my life making the
world a worse place."
Richard Stallman
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/