Re: rusage data for another process?
Re: rusage data for another process?
- Subject: Re: rusage data for another process?
- From: Steve Thompson <email@hidden>
- Date: Tue, 11 Dec 2007 13:36:31 -0500 (EST)
On Tue, 11 Dec 2007, Finlay Dobbie wrote:
If you're absolutely desperate, you could either:
1. parse the output of ps
2. use the same approach that ps does (fiddling with the relevant
mach_tasks, look at the adv_cmds project)
I've already looked at the 'ps' source. The -S option (add in CPU usage of
terminated children) doesn't work; ps makes no attempt to get this
information.
Steve
_______________________________________________
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