Start with [NSRunningApplication runningApplicationWithProcessIdentifier:(pid_t)]
On Feb 13, 2015, at 1:05 PM, Andrew Keller <and...@kellerfarm.com> wrote: > Hello all, > > I’m not sure if this is the correct list, but I figure I’ll start somewhere. > > I’m writing a program that collects activity statistics on other running > programs (in particular, network usage statistics). I have already > successfully harvested the statistics I want, organized by the PID and name > of the process, however I’d like to do a better job communicating this > information to the user. I am intrigued by Mac OS 10.10’s ability to report > “Apps using significant energy”; it seems to have the ability to get a > commonly understood human-readable program name, even when the process in > question is a helper app with a different name. Is this ability replicable > in third party applications? > > Thanks, > - Andrew Keller > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/lrucker%40vmware.com > > This email sent to lruc...@vmware.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com