Getting running time of child

Koffie Yahoo koffieyahoo at gmail.com
Thu Nov 19 14:52:33 UTC 2009


>> 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).

Unfortunately, that only works for children that have terminated, not
for active children. I'm interested in active children.

Jay


More information about the freebsd-hackers mailing list