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: Non-priv way to collect job stats under Intel?



Thanks for the link.. but I encountered the same result, it didn't return the CPU usage (just zeros), so I wonder if it suffers from the same "can't get stats from a running process" limitation as getrusage(). I pulled it into gdb and looked at the extern_proc p_rtime and p_cputicks fields. (Heck, I showed the whole struct and every time-like field was empty except __p_starttime.)




I think this is an OS bug. Please file a radar bug about this issue, as an external need carries more weight.

-pmb

an os BUG :) sure ...


_______________________________________________ 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: 
 >Re:Non-priv way to collect job stats under Intel? (From: Jeffrey Johnson <email@hidden>)
 >Re:Non-priv way to collect job stats under Intel? (From: Peter Bierman <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.