How to watch CPU and memory while a build runs on a Mac
Start the build, open the notch, choose System and press Keep open. The gauges show CPU, memory and disk as percentages with network speed beside them, sampled once a second. To find which process is responsible, switch to Disk, then Monitor.
Steps
- Start the build or test run in your terminal or editor.
- Open the notch and choose System. The rings show CPU, Memory and Disk, plus Battery on a Mac that has one and Network download and upload rates.
- Press Keep open in the header, so the notch stays up while you work in other windows.
- Watch the colours. Usage turns orange above 65 percent and red above 85 percent. A battery turns red when low and green while charging.
- If the CPU stays red, choose Disk, then Monitor, to see the five busiest processes by CPU and by memory.
- When the build ends, press Unpin.
Time the build
Start a stopwatch in Timers before the build. It keeps counting while the notch is closed, and you read it by opening the notch. When you change something and rebuild, you can compare the two times. It is not a benchmark, since a busy Mac gives noisy results. Run each case a few times and write the numbers down yourself, because the stopwatch keeps no history.
What the numbers mean
Memory is active, wired and compressed memory against your Mac’s total. The disk ring is how full the disk is, not how busy. Network speeds come from WiFi and Ethernet, and VPN or other virtual interfaces are left out so traffic is not counted twice. The first network reading appears after the second sample.
Limits
- Totals only. The System tab has no per app breakdown.
- No graph or log. You see now, not what happened five minutes ago.
- Not a profiler. It will not tell you why a compile is slow.
- Temperature and fan speed are not shown.
- Per core load is not shown.
- Pinned means in the way. A pinned notch sits above other windows at the top of the screen, so unpin it when done.
For deeper work use Instruments or Activity Monitor. These gauges are for a glance. See the System page for the full list.