Activity Monitor Hierarchical Process Sorting Explained
In this article
Yes, you can make Activity Monitor easier to read by turning on hierarchical process sorting, which groups related processes under their parent app. This view, available in the macOS Activity Monitor utility, collapses the long flat list of processes into a tree-like structure, making it far simpler to see which app is actually consuming CPU, memory, energy, or disk resources.
What Is Hierarchical Process Sorting?
By default, Activity Monitor shows every running process as a separate row, sorted alphabetically or by resource usage. This can be overwhelming because a single app like Chrome or Slack spawns dozens of helper processes, each appearing individually. Hierarchical sorting reorganizes this list so that child processes are indented and nested directly under their parent process. For example, instead of seeing 20 separate "Google Chrome Helper" entries scattered throughout the list, you see one "Google Chrome" row with all its helpers listed beneath it.
This view is often called "hierarchical" because it reflects the parent-child relationship in the process tree. It is especially useful for identifying which app is responsible for high CPU usage or memory pressure, since the parent process row can show a combined value for itself and its children.
How to Enable Hierarchical Sorting
Enabling this view takes only a few clicks, but the exact steps depend on your macOS version.
- macOS Ventura and later: Open Activity Monitor (in /Applications/Utilities). In the menu bar, click View and select Hierarchical. You can also press Shift+Cmd+H as a keyboard shortcut.
- macOS Monterey and earlier: The option is under View > Hierarchical as well, but the keyboard shortcut may differ. In some versions, you need to first ensure the process list is sorted by a column (like Process Name) before the hierarchy appears correctly.
Once enabled, you will see small disclosure triangles next to processes that have children. Clicking a triangle expands or collapses that app's sub-processes. The view is persistent—it stays on until you turn it off by selecting View > Flat List.
What the Hierarchy Actually Shows
The hierarchy is based on the Unix process model. Every process on macOS has a parent process ID (PPID). The kernel launches launchd (PID 1) at boot, and all other processes descend from it. When you open an app, the system creates a parent process (the main app executable) and that process can spawn helper processes, such as:
- Web browser renderer processes
- Plugin hosts
- Background update agents
- Extension helpers
In hierarchical view, these helpers are shown as children of the main app. For example, Safari might show children like com.apple.WebKit.WebContent and com.apple.WebKit.Networking. This makes it obvious that all those processes belong to Safari, not to some mysterious background task.
One important nuance: some processes are not direct children of the app you launched. For instance, if an app uses a system service (like nsurlsessiond for network requests), that service may appear under launchd rather than under the app itself. The hierarchy reflects the actual parent-child relationship, not logical ownership.
Why It Helps You Diagnose Problems
The main benefit of hierarchical sorting is that it aggregates resource usage at the app level. If you sort by CPU, you might see a single helper process using 50% CPU, but you won't know which app it belongs to. In hierarchical view, you can expand the parent app to see all its children and realize that the app is actually using 200% CPU across multiple processes. This is especially useful for:
- Battery drain: An app like Google Chrome might have several background tabs each using energy. The hierarchy shows the total energy impact.
- Memory pressure: Instead of seeing 30 separate entries for "Google Chrome Helper (GPU)", you see them grouped, making it easier to spot that Chrome is using 5 GB total.
- Runaway processes: If a child process goes rogue, you can see which parent app it belongs to and quit the whole app if needed.
However, note that the parent row does not automatically show a summed value for its children in all columns. In some macOS versions, the parent row shows only its own usage, not the aggregate. You may need to expand the triangle and add up the numbers manually. This is a common misconception—the hierarchy is for organization, not automatic aggregation.
Common Problems and Limitations
While hierarchical sorting is helpful, it has some quirks:
- Not all processes have children: Many system processes appear alone, so the view may not look dramatically different.
- Sorting by a column can break the visual grouping: If you click the "CPU" column header to sort by CPU usage, the hierarchy may become less intuitive because child processes are sorted by their own CPU values, potentially separating them from their parent in the list. The indentation still indicates the relationship, but the parent might not be directly above the child if the parent uses less CPU than the child.
- Search filters can hide the hierarchy: If you use the search box to filter processes, only matching rows appear, and the parent-child structure may be lost unless the parent also matches the search terms.
- Some apps spawn processes under a different user: For example, an app might launch a helper as root or as a different user. Those helpers may appear under that user's process tree, not under the app.
If you find that toggling the view doesn't seem to change anything, make sure you have at least one process with children (like a web browser). Also, check that you haven't filtered the list or selected a specific process.
Alternatives to Hierarchical View
If hierarchical sorting doesn't meet your needs, there are other ways to make Activity Monitor more readable:
- Filter by process name: Use the search box in the toolbar to type "Chrome" and see only processes with that name.
- Use the "All Processes, Hierarchically" option: Some macOS versions offer this in the View menu, which combines hierarchy with showing all processes (including system ones).
- Sort by the "Process Name" column: Alphabetical sorting groups processes with similar names together, though it doesn't show parent-child relationships.
- Use third-party tools: Apps like iStat Menus or htop (in Terminal) provide alternative process trees, but they are not part of macOS.
For most users, the built-in hierarchical view is sufficient. It requires no extra software and is built into every modern macOS version.
Frequently Asked Questions
Does hierarchical view show the total CPU usage of an app including its children?
No. In most macOS versions, the parent process row shows only its own CPU usage. To see the total, you must expand the triangle and add up the percentages of all child processes. Some third-party tools aggregate this automatically, but the built-in view does not.
Why do some processes not appear under their parent app?
Processes that are launched by the system (like nsurlsessiond or com.apple.WebKit.Networking) may be reparented to launchd after their original parent exits. This is a normal Unix behavior. The hierarchy shows the current parent, not the original app that requested the work.
Can I make hierarchical view the default for every Activity Monitor launch?
Yes. Once you enable it via View > Hierarchical, Activity Monitor remembers that setting for future launches. If it doesn't persist, check that you aren't using a custom configuration or that your macOS version supports it (it does since at least macOS 10.15).
Does the hierarchy work when I sort by memory or energy?
Yes, the hierarchy applies regardless of which column you sort by. However, sorting by a resource column may reorder rows, so the parent may not be directly above its children. The indentation still shows the relationship, but you might need to scroll to find the parent.
Is there a keyboard shortcut to expand all processes at once?
There is no built-in shortcut to expand all. You can click each triangle individually. However, you can use the keyboard: select a row and press the Right Arrow key to expand, Left Arrow to collapse. This works in most macOS versions.