• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Non-priv way to collect job stats under Intel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Non-priv way to collect job stats under Intel?
      • From: Garth Cummings <email@hidden>
References: 
 >Re: Non-priv way to collect job stats under Intel? (From: email@hidden)

  • Prev by Date: Re: Non-priv way to collect job stats under Intel?
  • Next by Date: Re: Non-priv way to collect job stats under Intel?
  • Previous by thread: Re: Non-priv way to collect job stats under Intel?
  • Next by thread: Re: Non-priv way to collect job stats under Intel?
  • Index(es):
    • Date
    • Thread