Sub topic 3
Find the culprit in Activity Monitor
This chapter assumes you can open apps from Finder, use the Apple menu and System Settings, and have already tried the basic force quit methods from the previous chapter. You do not need Terminal for most of this chapter. Terminal appears only in the last part, where it is used to confirm what you saw in the app.
Activity Monitor is the Mac's built-in process viewer. It lists everything that is running and shows how much of the Mac's resources each item uses. When a Mac feels slow, hot, or noisy, it is the fastest way to turn "something is wrong" into "this specific process is the problem."
What a process is
A process is a running program. One app can start several processes. A web browser, for example, often runs a separate process for each tab. The system also runs many background processes with no window, such as the ones that handle Wi-Fi, search indexing, and backups.
Each process has:
- A name, such as
Safariormds_stores. - A process ID (PID), a number that identifies it until it quits.
- A user, which shows who owns it. Your own account owns your apps.
rootowns many system services. - Resource use: CPU time, memory, disk activity, network traffic, and energy impact.
Knowing the user matters. Processes owned by root or by system accounts are part of macOS. Ending one of them rarely helps and can cause surprises.
Open Activity Monitor
Activity Monitor is in /Applications/Utilities. The quickest way to open it is Spotlight: press Command-Space, type Activity Monitor, and press Return.
The window has five tabs across the top: CPU, Memory, Energy, Disk, and Network. The search box at the top right filters the list by name. The View menu controls which processes you see.
For troubleshooting, choose View > All Processes. The default view, My Processes, hides system services, and a runaway system service is often exactly what you are looking for.
Read the CPU tab
The CPU tab is the best place to start. Click the % CPU column heading to sort the list so the busiest process is at the top. Click it again to reverse the order.
At the bottom of the window you see overall figures:
- System is the share of CPU time used by macOS itself.
- User is the share used by apps you opened.
- Idle is what is left over.
- A graph shows the recent trend.
A value of 100% for a single process does not mean the whole Mac is busy. On a Mac with several CPU cores, one process can use more than 100%, because each core counts as 100%. A process at 250% is using about two and a half cores.
Brief spikes are normal. A process that is unusual is one that stays high for several minutes while you are not doing anything demanding.
Frozen apps show as Not Responding
Apps that have stopped answering the system appear in red with "(Not Responding)" after the name. This is the clearest sign of a hung app. Select it and click the Stop button (an octagon with an X) in the toolbar. A dialog offers two choices:
- Quit asks the app to close normally, like choosing Quit from its menu.
- Force Quit ends it immediately, without giving it a chance to save.
Try Quit first. Use Force Quit when Quit has no effect after a short wait. Unsaved work in that app is lost if you force quit, so save elsewhere if you can.
Read the other tabs
Each tab answers a different question.
| Tab | What it shows | Question it answers |
|---|---|---|
| CPU | Processor use per process, plus thread counts | Which process is working hardest? |
| Memory | Memory use and a pressure graph | Is the Mac running short of memory? |
| Energy | Energy impact and battery drain | What is draining the battery or heating the Mac? |
| Disk | Data read and written | What is hammering the disk? |
| Network | Data sent and received | What is using the connection? |
Memory and memory pressure
The Memory tab has a Memory Pressure graph at the bottom. Read its color, not the raw numbers:
- Green means memory is fine.
- Yellow means the Mac is compressing data or struggling a little.
- Red means the Mac is short of memory and is slowing down.
A large "Memory Used" number alone is not a problem. macOS deliberately uses spare memory for caching. Sort by the Memory column to find which process holds the most, and look at pressure to decide whether that matters.
If the Swap Used figure keeps growing, the Mac is pushing memory contents to the disk, which is slow. That points to too many large apps open at once, or to a process that leaks memory, meaning it keeps claiming memory and never gives it back.
Energy
The Energy tab lists Energy Impact and, on laptops, 12 hr Power for a longer view. An app with a high number over a long period is a likely cause of a hot, loud, or quickly draining Mac. The column Preventing Sleep shows whether an app is stopping the Mac from sleeping, which explains a laptop that is warm in a bag.
Inspect a suspicious process
Double-click a process to open a detail window. It shows its memory, open files and ports, and a statistics tab. The Sample button records what the process is doing for a few seconds and produces a text report. You rarely read it yourself, but app developers and Apple Support find it useful, so save it if you plan to report the problem.
For a hung app, the detail window gives you the information you need to describe the problem clearly: the process name, the PID, and how long the process has been busy.
A repeatable method
Follow the same steps each time so you compare like with like.
- Note the symptom: slow typing, fan noise, heat, or a beach ball cursor.
- Open Activity Monitor and choose View > All Processes.
- Sort the tab that matches the symptom. Use CPU for slowness and fan noise, Energy for heat and battery, Memory for general sluggishness, and Disk for a clicking or constantly busy drive.
- Watch for about 30 seconds. Look for a process that stays at the top.
- Identify what the process is. Search its name online or check its user. Is it an app you know?
- Choose the least disruptive action: quit the app normally, then force quit it, then restart the Mac.
- Check whether the symptom is gone. If the process returns, the problem is repeatable and worth deeper work, such as resetting that app's preferences, which later chapters cover.
Common processes and what to do about them
Some names appear often and cause needless worry.
| Process | What it is | Usual advice |
|---|---|---|
| `kernel_task` | The core of macOS. It also limits the CPU when the Mac is too hot. | You cannot quit it. High use usually means a heat problem, so check vents and workload. |
| `mds` and `mds_stores` | Spotlight indexing | Busy for a while after an update or a large file copy. Wait for it to finish. |
| `WindowServer` | Draws everything on screen | High use can follow from many windows, external displays, or heavy animation. |
| `photoanalysisd` | Photos analyzing your library | Busy after importing many photos. Leave the Mac on power. |
| `backupd` | Time Machine | Busy during a backup. |
The rule is simple. A system process that is busy for a reason, such as indexing or backup, will settle by itself. A process that stays busy for hours with no obvious reason is worth investigating.
Edge cases and limits
- A process returns right after you end it. Many services are started again automatically by the system. This is normal and not proof that the quit failed. If an app you did not open keeps returning, look for it in System Settings > General > Login Items & Extensions.
- The Mac is too frozen to open Activity Monitor. If the pointer does not move at all, Activity Monitor cannot help. Hold the power button until the Mac turns off, then start it again.
- The numbers jump around. The default refresh rate is every five seconds. Choose View > Update Frequency to make it faster while you test.
- You cannot see a process. Check that View > All Processes is selected and that the search box is empty.
- Reading a name is not enough. A familiar name can still belong to unwanted software, and an unfamiliar one can be harmless. If a process you do not recognize uses a lot of resources, look at where it lives using the Info window's Open Files and Ports tab before deciding anything.
Confirm from Terminal (optional)
The graphical view is enough in most cases. If you want to confirm a PID, or you are connected to the Mac remotely, the top command shows a similar live list. This command prints the ten busiest processes by CPU and then exits:
top -o cpu -l 2 -n 10 -stats pid,command,cpu,mem | tail -n 12The -l 2 option takes two samples. The first sample reports averages since boot and is not useful, so the command reads the second one. The next chapter on ending processes from Terminal uses the PID you find here.
Exercise
Activity Monitor shows a process at 380% CPU, and your Mac has 8 cores. Is the Mac fully loaded, and what would you check before ending the process?
Show answer
No. Each core counts as 100%, so 380% is roughly 3.8 of 8 cores, which is under half of the Mac's capacity. Before ending it, check whether the process is an app you recognize and own, whether it has stayed high for several minutes, and whether it is marked Not Responding. If it is a known app, try Quit first, then Force Quit. If it is a system process such as mds_stores, wait for it to finish unless it stays busy for hours.
Exercise
Your laptop is warm and the battery drains fast, but the CPU tab shows nothing unusual. Which tab do you check next, and which column tells you whether an app is stopping the Mac from sleeping?
Show answer
Check the Energy tab. The Preventing Sleep column shows which apps are keeping the Mac awake, and Energy Impact shows which ones use the most power.