lkml.org 
[lkml]   [1999]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectHow do I get heap and static memory information for /proc?
Hi,

I am trying to figure out where I can dynamically figure out information

about the Heap. The /proc/self/stat gives information
about the stack like where the stack begins and the size (at least
that's what it looks like). But I can't find out where to find that
information about the heap (ie, where it begins and the size of the
heap). I need similiar information about the static data
area which I can hopefully glean from the /proc because I have to do it
at run time.

I have found information about /proc/self/maps. I have found that the
second and third entries are the static data segment and the heap
segment respectively. But I am still not sure if this is always the
case. I am still looking a more detailed information what is in the
maps file. I have also looked at the man page for /proc.

If anyone has ideas about where to look for more information and can
answer my questions, your help will be greatly
appreciated. Thanks

Usman


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.758 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site