macOS Activity Monitor – How to Distinguish a Service from a Process

activity-monitormacos

Is there a way to determine if an entry listed in Activity Monitor is a service (daemon) or a process (application)?

Examples:

  • Firefox (application)
  • com.apple.audio.SandboxHelper (daemon?)

Is there a good definition of what these terms (that I'm using loosely) mean in OS X?

Best Answer

All Processes, Hierarchically

Activity Monitor can show the process hierarchy:

Activity Monitor.app > View (menu) > All Processes, Hierarchically

The grouping shows those processes launched by another process. Typically child-process will be services of the parent. On macOS many of these child processes will be XPC instances.

Services are Processes

On macOS, daemons are processes and services are processes. In your example, com.apple.audio.SandboxHelper, this is an XPC service.