| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
>Assuming that you're willing to accept the stipulation that you can
>only look at your own processes, what sorts of information about saidprocesses would you expect/want such an API to provide? To put it another way, if you could have your idea "process inspection API", what would might it look like?
Ideally, given a pid, I'd like an API returning the following ps values in a struct:
%cpu %mem command lim lstart nice ppid pri sl state time uid xstat
To solve my immediate problem, I'd settle for
lstart state time xstat
I grabbed some source described here: http://ezine.daemonnews.org/200205/sysctl-netbsd.html
-pmb _______________________________________________ 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
| References: | |
| >Re:Non-priv way to collect job stats under Intel? (From: Jeffrey Johnson <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.