e: TASK_BASIC_INFO question (Steve Thompson)
e: TASK_BASIC_INFO question (Steve Thompson)
- Subject: e: TASK_BASIC_INFO question (Steve Thompson)
- From: Michael Smith <email@hidden>
- Date: Fri, 19 Jan 2007 12:44:46 -0800
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.
= Mike
_______________________________________________
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