Re: Non-priv way to collect job stats under Intel?
Re: Non-priv way to collect job stats under Intel?
- Subject: Re: Non-priv way to collect job stats under Intel?
- From: Jeffrey Johnson <email@hidden>
- Date: Tue, 1 Aug 2006 10:59:38 -0400
On 8/2/06 at 12:26 AM, email@hidden wrote:
>> We don't require any authorization dialogs anywhere (drag across install)
>> and some of our customers are in some, ah, slighly paranoid environments
>> where a third party SUID-root tool would put us at a disadvantage because
>> they'd have to spend resources auditing the tool (and our competitors don't
>> have any such tools to audit). We may have to end up shelling out to ps on
>>intel boxes...
>
>So, can you not use NSTask or similar mechanism to run ps directly?
By "shelling out" we'd be using popen(/bin/ps ....). This isn't a Cocoa app, so NSTask is out, and
from my limited understanding it appears to me an NSTask() approach would create a new process every
time ps was run as well. I was hoping we could keep from creating new processes just to check on an
existing one. :-)
Thanks
Jeffrey Johnson
Macintosh Development
Wavefunction, Inc.
_______________________________________________
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