On Jun 2, 2009, at 5:05 AM, Anshul jain wrote:
I have figured it out how to get the root processes and its
information.
My only concern is how i will get a notification when a process is
launched. I think there should be a way to get it. Because i think
Activity Monitor does this.
I doubt it. It's just scanning the process list every N seconds,
using a technique like that described here:
http://developer.apple.com/qa/qa2001/qa1123.html
For _certain kinds_ of processes, you can get notifications from
NSWorkspace or via Carbon Events. If you haven't already read it,
read this:
http://developer.apple.com/technotes/tn/tn2050.html
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]