Re: Getting User and Process Information
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