From owner-freebsd-questions Thu Sep 13 22: 6:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (cfedde.dsl.frii.net [216.17.139.141]) by hub.freebsd.org (Postfix) with ESMTP id BDDC737B40A for ; Thu, 13 Sep 2001 22:06:29 -0700 (PDT) Received: from fedde.littleton.co.us (localhost [127.0.0.1]) by fedde.littleton.co.us (8.11.6/8.11.4) with ESMTP id f8E56RI27644; Thu, 13 Sep 2001 23:06:27 -0600 (MDT) Message-Id: <200109140506.f8E56RI27644@fedde.littleton.co.us> To: "Vikas Jain" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Memory usage In-Reply-To: From: Chris Fedde Date: Thu, 13 Sep 2001 23:06:27 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 13 Sep 2001 21:40:38 "Vikas Jain" wrote: +------------------ |

How can I get the memory that any pr ocess uses on the heap?

|

I wanna basically track the memory leaks in my program. is there any syst em call that can give that info?

|

 

|

Thanks,

|

Vikas



Get your FREE download of MSN Explorer a t http://explorer.msn.com< br> +------------------ 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