Re: Non-priv way to collect job stats under Intel?
Re: Non-priv way to collect job stats under Intel?
- Subject: Re: Non-priv way to collect job stats under Intel?
- From: fletcher sandbeck <email@hidden>
- Date: Mon, 31 Jul 2006 19:09:12 -0700
On 2006-07-31 at 18:27 by email@hidden (Peter Bierman):
>At 6:19 PM -0400 7/31/06, Jeffrey Johnson wrote:
>>Hello,
>>
>> We're making a universal binary of an app that calls task_for_pid()
>>on PPC to gather cputime statistics on demand for its child
>>processes and displays the stats in a window in a ps-like fashion.
>>(We retrieved the source for ps and found the task_for_pid() call).
>
>I'm not sure what stats you want to collect, but check out `man getrusage`.
>
>If that works, it's a much more portable way to accomplish that task.
I don't think this will work for the OP since it says "BUGS There is no way to obtain information about a child process that has not yet terminated." and what he is looking for is information about the active child processes.
[fletcher]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden