Skip navigation.
 
mlRe: Equivalent to "ps aux" in Cocoa?
FROM : Ryan Stevens
DATE : Thu Jan 02 23:07:44 2003

On Thursday, January 2, 2003, at 10:33  AM, Finlay Dobbie wrote:

> On Thursday, January 2, 2003, at 08:54  am, Andrew wrote:
>

>> That will only tell you the PId of your process. You will probably
>> have to
>> use kvm_getprocs and kvm_getargv.

>
> Or sysctl. Unless you're looking for a GUI process, in which case you
> can use -[NSWorkspace launchedApplications]
>


I was going to say that! ;-)

Isn't sysctl the preferred way anyway?

From the man on kvm_getprocs;
>BUGS
>    These routines do not belong in the kvm interface.

_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlEquivalent to "ps aux" in Cocoa? Arthur VIGAN Dec 31, 18:59
mlRe: Equivalent to "ps aux" in Cocoa? Robert Tillyard Dec 31, 20:40
mlRe: Equivalent to "ps aux" in Cocoa? Cameron Hayne Jan 2, 06:34
mlRe: Equivalent to "ps aux" in Cocoa? Andrew Jan 2, 09:54
mlRe: Equivalent to "ps aux" in Cocoa? Finlay Dobbie Jan 2, 19:33
mlRe: Equivalent to "ps aux" in Cocoa? Ryan Stevens Jan 2, 23:07