Re: Getting process's memory usage

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

 



Tom Browder wrote:
On 5/16/08, Manal Helal <manalorama@xxxxxxxxx> wrote:
Hi Eljay

That's very intuitive idea :) my mind was focused on finding a
function to use in the source code,

I'll bet valgrind has a way to do it.
I have used a couple different methods. On Solaris I have either read the appropriate /proc entry for the process, or used the vmalloc library, which has a number of nice features:

http://www.research.att.com/~gsf/download/ref/vmalloc/vmalloc.html

Peter


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux