Re: Getting process status
Re: Getting process status
- Subject: Re: Getting process status
- From: Matt Jaffa <email@hidden>
- Date: Fri, 11 Jun 2004 14:28:46 -0600
You can look at the source of 'ps' if you want from the
opensource.apple.com,
anyways, basically what ps is doing, is it is using the sysctl call and
passing in certain arguments will give back a buffer with all the
process stuff in it.
Matt
no cocoa wrapper that I know of.
On Jun 11, 2004, at 2:06 PM, Drew McCormack wrote:
Is there a Cocoa way to get the status of all running processes, like
the 'ps' command gives on the command line?
If not, is there a system call that gives this?
If not, has anyone written a class that wraps 'ps' to achieve this?
Drew
---------------------------------------------------------
Drew McCormack
www.maniacalextent.com
_______________________________________________
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.
_______________________________________________
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.