Date: Thu, 18 Mar 2010 18:30:00 -0700 From: "J. Johnston" <jeremy@stormy.smart-serv.net> To: freebsd-questions@freebsd.org Cc: Jayadev Kumar <jayadev.kumar@gmail.com> Subject: Re: API to find the memory usage of a process. Message-ID: <4BA2D398.6000104@stormy.smart-serv.net> In-Reply-To: <4cac4bed1003181028h74aff209y31e9c70bfb6ec367@mail.gmail.com> References: <4cac4bed1003181028h74aff209y31e9c70bfb6ec367@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/18/10 10:28, Jayadev Kumar wrote: > Hi, > > I need to find the memory usage of a process, from inside the process. > Is there any system call > do this ? I was trying to find it from 'top' utility source code. I couldn't > find the port which it is coming > from yet. > > Thanks, > Jayadev. the source for top is located in /usr/src/usr.bin/top > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA2D398.6000104>