Re: Equivalent to "ps aux" in Cocoa?
Re: Equivalent to "ps aux" in Cocoa?
- Subject: Re: Equivalent to "ps aux" in Cocoa?
- From: Ryan Stevens <email@hidden>
- Date: Thu, 2 Jan 2003 14:07:44 -0800
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@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.