DEV Community

SamHQ
SamHQ

Posted on

Activity Monitor hasn't really changed in 20 years, so I rebuilt Task Manager from scratch

TL;DR: I built Task Manager Pro, a faster Activity Monitor alternative, built with a lot of care and polished as close to perfect as I could get it. It opens in about a quarter of a second, uses around 2.6% CPU while you watch it, and drops to 0% the moment it's hidden. This post is the story of building it, and the details that took far longer than they should have.

Activity Monitor is stuck in time

Open Activity Monitor today and you'll see roughly the same app that shipped two decades ago. It can tell you everything, but it rarely tells you anything at a glance. A browser shows up as dozens of separate processes. CPU, memory, energy and disk live on different tabs. Answering a simple question like "why is my fan on?" turns into a small investigation.

Coming from Windows, I missed the opposite experience: press Ctrl+Shift+Esc and know within a second what the computer is doing. I tried the alternatives out there, and they were either powerful but just as hard to read, or simple but missing the things I actually reached for every day.

So I built the Task Manager I wished had been there from the start, and I set the bar high: native, fast, and genuinely pleasant to look at.

What it does differently

Apps grouped with their helpers

This was the first thing I wanted. Modern apps spawn a crowd of helper processes, and a flat list makes it hard to tell which app is actually busy. Task Manager Pro tucks every helper under the app it belongs to, so your browser is one line you can expand, not forty lines you add up in your head.

Processes tab, apps grouped with their helpers

The whole machine on one screen

The Performance tab puts CPU, memory, GPU, disks and Wi-Fi on a single grid. One look tells you which part of the machine is working hard.

Memory view on the Performance tab

A graph for every core

Right click the CPU graph and it splits into one graph per logical core. Apple Silicon mixes performance and efficiency cores, so the performance cores come first. That's usually where the interesting stuff happens.

One graph per CPU core

Everything else you'd expect

  • Process tree to see who launched what
  • Startup apps to see what runs when you log in
  • Users, Energy and Services for when you want to dig deeper
  • Live CPU in the menu bar, so you can keep an eye on things without opening a window

Polish was half the work

Getting the features working was maybe half the job. Making it feel right was the other half, and it's the part I'm proudest of.

  • It follows your system. Light and dark mode switch automatically, no setting to hunt for.
  • Compact strip mode. Collapse the window into a thin strip of live numbers you can park at the edge of the screen.
  • Hide the title bar and keep it on top, so it can sit over a game or a long build without getting in the way.
  • Smooth animations with no lag. It should feel snappy, never sluggish.

I lost count of how many times I redid the spacing in the process list and the way the graphs ease in. None of it shows up in a feature list, but you feel it the moment you open the app.

What was harder than I expected

A monitor that costs nothing

A system monitor is the one app that has no excuse for wasting resources. If it shows up near the top of its own CPU list, it has failed. So the rule was simple: do the work only when someone is looking. While the window is visible it samples and redraws, and it settles around 2.6% CPU. The moment it's hidden, it stops entirely and sits at 0%. Getting there meant going through every timer and every redraw and asking whether it really needed to run.

Opening fast enough to feel instant

The whole point of Ctrl+Shift+Esc is that it's instant. If a task manager takes a couple of seconds to open, you've already lost the moment you wanted to catch. I kept trimming what happens at launch until it got down to about 258 ms, so the window is there before you've finished reaching for it.

Figuring out which helper belongs to which app

Grouping helpers sounds easy until you try it. Helpers don't always announce who they belong to, and some apps spawn processes in surprising ways. Getting the grouping right for the apps people actually run every day took far more trial and error than any of the graphs.

Pro and Classic

I couldn't pick just one look, so there are two versions.

Task Manager Pro Task Manager Classic
Look Windows 11 style Windows 7 style
Price $9.99 lifetime (launch price, normally $14.99) Free
Machines Up to 3 Any
Needs macOS 15 or later macOS 14 or later

Task Manager Classic

Try it

Download it from the site: https://taskmanager.samhq.app

Or install with Homebrew:

brew install --cask samhqapp/tap/task-manager-pro
Enter fullscreen mode Exit fullscreen mode
brew install --cask samhqapp/tap/task-manager-classic
Enter fullscreen mode Exit fullscreen mode

I'd love your feedback

This has been a real labour of love, and I'm still actively building it. If you try it, I'd really like to hear what feels off, what's missing, and what you'd want next. And if you've ever built something that reads system stats, I'm curious how you approached it.

Top comments (5)

Collapse
 
userxnom profile image
Abdullah Naseer •

The helper grouping is the detail that sold me — a browser showing up as one line instead of forty is exactly the kind of thing you only build after adding up those lines in your head one too many times. And the discipline of a monitor that costs 2.6% CPU while it's open and 0% when hidden is the right bar; a tool that watches the machine shouldn't be the thing eating it.

One question on the grouping: when a helper doesn't announce who it belongs to, what do you fall back on — the parent process, the bundle ID, or something else? And as a next step, have you considered a "top movers" view that shows which app's CPU changed most since the last refresh, so a spike is one glance instead of a scan?

Collapse
 
samhq profile image
SamHQ •

Parent process (ppid), not bundle ID. We check macOS's responsible-PID API first, fall back to ppid, walk up to the first running Dock app, and put anything else under Background processes.

No "top movers" view yet, just live CPU sorting for now, though it's a neat idea for catching spikes and I'll keep it in mind.

Collapse
 
jan_sytze profile image
Jan Sytze Heegstra •

Dropping to 0% CPU the moment it is hidden is the detail that shows the care. For the question of what feels off, people who did not build it notice things in the first minute that you no longer can. I run TestMyBuild, where builders try each other's apps, Mac apps included, and write what they think. testmybuild.app

Collapse
 
appsbymo profile image
Apps by Mo •

Grouping helpers under their app is the right first move. The fan question I hear most is a slightly different one, though: why was it loud at 3 a.m., or why was the Mac slow an hour ago. A live view can’t answer once the moment has passed, so even a short rolling history, a day of samples per app, would turn it from a monitor into something you can ask after the fact. Did you think about keeping any history, or is staying at 0% when hidden the bigger promise?

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

the fan question is the test. if the monitor can't answer 'why is my fan on' in a second, all the tabs and graphs are just decoration.