Hello,
I am looking for a convenient way using C to retrieve the current CPU and memory utilization of a process of which I have the pid. Can somebody please give me a hint of which system-calls/library-functions to use for this ? I don't want to use the system() function or grep for information via the /proc filesystem.
I would be grateful if you could also please mention whether the suggested method[s] is/are FreeBSD-specific or would be portable to other environments like Solaris/Linux ?
Thanks for any help. Regards & Happy New Year Manish Jain invalid.poin...@gmail.com _______________________________________________ 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"