[Linux] Memory usage

Discussion in 'C++' started by ganetmarv@gmail.com, Jan 18, 2005.

  1. Guest

    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.
    , Jan 18, 2005
    #1
    1. Advertising

  2. wrote:
    > 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.

    > [...]
    Victor Bazarov, Jan 18, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. metfan
    Replies:
    2
    Views:
    4,834
    Robert Olofsson
    Oct 21, 2003
  2. hvt
    Replies:
    0
    Views:
    1,195
  3. hvt
    Replies:
    0
    Views:
    1,451
  4. Krist
    Replies:
    8
    Views:
    6,340
    Arne Vajhøj
    Feb 10, 2010
  5. MrsEntity
    Replies:
    20
    Views:
    454
Loading...

Share This Page