e: TASK_BASIC_INFO question (Steve Thompson)
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... However, it appears that unless one enables the /dev/kmem interface and uses kvm_read(), there is no supported API for an application (running as root) to obtain the resources used by terminated children of an arbitrary pid. That's correct, and not typically unreasonable. Without knowing what that child was, knowing its resource consumption is typically not very useful. This is a critical functionality for my application, so hopefully this will be fixed before /dev/kmem support goes away for good, otherwise I will not be able to continue to support OS X. I'm not quite sure whether this is hyperbole or blackmail, but it seems a bit flat either way. What are you trying to do? If you have a priori knowledge of these processes, you can wrap them and gather statistics on termination. If you know who they are but cannot be complicit in their invocation, you might consider the acct(2) facility and/or the use of the sa(8) utility. This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith