• 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 process status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Getting process status (From: Drew McCormack <email@hidden>)

  • Prev by Date: Re: lowercaseString on Jaguar
  • Next by Date: Re: Mail.app TextView Question
  • Previous by thread: Getting process status
  • Next by thread: Re: Getting process status
  • Index(es):
    • Date
    • Thread