Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 23:06:27 -0600
From:      Chris Fedde <chris@fedde.littleton.co.us>
To:        "Vikas Jain" <vikas106@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Memory usage 
Message-ID:  <200109140506.f8E56RI27644@fedde.littleton.co.us>
In-Reply-To: <F757zoJDpz1Pjzc0cAo0001361e@hotmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Sep 2001 21:40:38  "Vikas Jain" wrote:
 +------------------
 | <html><div style='background-color:'><P>How can I get the memory that any pr
ocess uses on the heap?</P>
 | <P>I wanna basically track the memory leaks in my program. is there any syst
em call that can give that info?</P>
 | <P>&nbsp;</P>
 | <P>Thanks,</P>
 | <P>Vikas</P></div><br clear=all><hr>Get your FREE download of MSN Explorer a
t <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><;
br></html>
 +------------------

ps has many options that allow you to see the memory used by a process but
at a rather granular level.  Read the manual page.  some interesting
options to track are rss, vsz, and tsiz.

--
    Chris Fedde
    303 773 9134

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109140506.f8E56RI27644>