Memory stats in a POSIX enviornment

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Richard Cranium

    Memory stats in a POSIX enviornment

    Someone posted a nifty trick a while ago for estimating the amount of
    memory currently in use in a running application. Can someone either
    repost that or let me know their own thoughts on the subject?

    Thanks.

    -Richard


  • Antoninus Twink

    #2
    Re: Memory stats in a POSIX enviornment

    On 22 May 2008 at 4:51, Richard Cranium wrote:
    Someone posted a nifty trick a while ago for estimating the amount of
    memory currently in use in a running application. Can someone either
    repost that or let me know their own thoughts on the subject?
    Are you thinking of mallinfo(), provided in malloc.h by System V and
    descendents?

    Comment

    • Jack Klein

      #3
      Re: Memory stats in a POSIX enviornment

      On Wed, 21 May 2008 21:51:23 -0700, Richard Cranium
      <cisrichard@gma il.comwrote in comp.lang.c:
      Someone posted a nifty trick a while ago for estimating the amount of
      memory currently in use in a running application. Can someone either
      repost that or let me know their own thoughts on the subject?
      My thoughts... You're asking in the wrong place. Neither memory
      stats or POSIX are part of the C language, so they're off-topic here.

      Try comp.unix.progr ammer, or a group for your specific *X flavor, such
      as comp.os.linux.d evelopment.apps , if that's your preference.

      --
      Jack Klein
      Home: http://JK-Technology.Com
      FAQs for
      comp.lang.c http://c-faq.com/
      comp.lang.c++ http://www.parashift.com/c++-faq-lite/
      alt.comp.lang.l earn.c-c++

      Comment

      Working...