• 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: Getting User and Process Information
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting User and Process Information


  • Subject: Re: Getting User and Process Information
  • From: Hanspeter Spalinger <email@hidden>
  • Date: Fri, 28 Oct 2005 12:14:57 +0200


Am 28.10.2005 um 01:59 schrieb John Timmer:

I am writing a program that returns user and process information. It
must list all processes and the users that have executed those
processes. I want the app to be available for universal binary. Is
there anyone who can help me with this?


You could always just execute ps or top using NSTask.

JT

View this (and this is part II) for a good example of how to write BSD-Wrappers using NSTask. It helps you not inventing the wheel again :-)

HP

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Getting User and Process Information (From: John Timmer <email@hidden>)

  • Prev by Date: Re: Parsing HTML
  • Next by Date: Re: Text attachments - making an NSTextAttachment unique?
  • Previous by thread: Re: Getting User and Process Information
  • Next by thread: Re: Getting User and Process Information
  • Index(es):
    • Date
    • Thread