Getting running time of child

Dag-Erling Smørgrav des at des.no
Thu Nov 19 13:27:12 UTC 2009


Koffie Yahoo <koffieyahoo at gmail.com> writes:
> I've looked but not found (and I hope I'm in the right group here): Is
> there a way to get the user time and system time of a /running/ child
> from its parent (without having to mount procfs)?

If you have only one child, there's getrusage(2).

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list