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

RE: Physical memory size allocated for each process!



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.

-----Original Message-----
From: ext Kiran Kumar [mailto:immidi_kiran@yahoo.com]
Sent: Friday, November 14, 2003 1:40 AM
To: Bezerra Allan (EXT-INdT/Manaus)
Subject: Re: Physical memory size allocated for each process!


--- Allan.Bezerra@indt.org.br wrote:
> 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.

  cat /proc/<pid>/statm
  man proc


=====
Regards,
Kiran Kumar Immidi

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/