On Thursday 18 March 2010 18:28:48 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.
Check out getrusage(2). - Pieter _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"