Re: vsize from within C++ (UNCLASSIFIED)

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

 



"Glasgow, Steven Mr CIV USA TRADOC" <Steven.Glasgow@xxxxxxxxxxx>
writes:

> Is it possible for a process to obtain information about itself (such as
> that provided by "top"), specifically vsize?

This is the wrong mailing list.  The gcc-help mailing list is for
questions about the gcc compiler.  You are likely to get a better
answer if you ask on a forum for whichever operating system you are
using.

If you happen to be using GNU/Linux, then I think you can pull this
out of /proc/self/stat or /proc/self/statm, but I don't know the
format of those files.

Ian

[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