API to find the memory usage of a process.

J. Johnston jeremy at stormy.smart-serv.net
Fri Mar 19 01:49:16 UTC 2010

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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list