Re: Human-understandable process name
Re: Human-understandable process name
- Subject: Re: Human-understandable process name
- From: Lee Ann Rucker <email@hidden>
- Date: Fri, 13 Feb 2015 21:20:17 +0000
- Thread-topic: Human-understandable process name
Start with [NSRunningApplication runningApplicationWithProcessIdentifier:(pid_t)]
On Feb 13, 2015, at 1:05 PM, Andrew Keller <email@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden