[Linux] Memory usage

G

ganetmarv

Hi all,

I would like to know how many memory a program is using, during the
execution and on Linux.
After some readings, during the execution, I have to open
\proc\self\status and read the informations but I do not know which
line in the file represents the memory usage of the current program.
Do you have any idea ?

Thanks.
 
V

Victor Bazarov

I would like to know how many memory a program is using, during the
execution and on Linux.

Then post to one of comp.os.linux.development.apps, they should know
a way to determine that. C++ _language_ and library have no means for
the programmer to find out the memory footprint. It's OS-specific.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top