Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rusage data for another process?



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >rusage data for another process? (From: Norm Green <email@hidden>)
 >Re: rusage data for another process? (From: Steve Thompson <email@hidden>)
 >Re: rusage data for another process? (From: Terry Lambert <email@hidden>)
 >Re: rusage data for another process? (From: "Finlay Dobbie" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.