ProcessX · macOS process explorer & priority monitor · Swift menu bar

Claude Code, Cursor or Codex is using all your CPU. Fix the session first.

ProcessX is a free, open-source macOS process explorer and priority monitor. Idle Claude Code at half a core has a file-and-hook cause; Cursor and Codex spinning their fans are separate bugs. Fix that first. If the work is real, the background band is what keeps the window you're typing in responsive.

No admin rights, no kext No telemetry, no network Every change is undoable
ProcessX macOS process explorer and priority monitor: CPU, GPU, memory and slowed-down gauge cards above a table of running apps grouped per app, with CPU, memory, per-process GPU and priority columns and Cap, Slow down and Quit actions on each row.

The picture is a 1.2.4 capture. The download is 1.2.5.

Before you throttle anything

Claude Code, Cursor or Codex is using all your CPU.

Idle Claude Code at half a core has a file-and-hook cause. Cursor and Codex spinning their fans are separate bugs in those apps. Fix that first. The background band is the second lever, for when the work is real and the window in front of you still has to stay typed-into.

Claude Code, idle at 50–60%

On 1 February 2026 an M4 Mac mini (16 GB) was running two Claude Code sessions that were only waiting for input. Activity Monitor showed them at 62% and 52% CPU, and VS Code lagged while the owner typed. Two or three sessions pushed Claude's total past 100% CPU. The thread is the report.

The replies traced it to session files, not to a busy model. A session-start hook — the one named there is the superpowers skill — writes saved_hook_context into ~/.claude/projects/**/*.jsonl. Claude Code issue 22245 shows the failure mode: the same UUID stored twice, with different parents, so the loader walks a cycle and sits at 100% CPU until that file is gone. Issue 29953, on macOS 26.3, is the same shape from the claude-mem SessionStart hook: a 67 KB transcript with eight of those entries sits at 100% CPU on the next launch, and an empty session directory does not. People on the thread cleared the idle burn by turning that hook off, and by removing the jsonl it had already written.

find ~/.claude/projects -name "*.jsonl" -exec grep -l "saved_hook_context" {} \;

That command only lists files. Deleting one throws away that session's transcript. Issue 22245's narrower workaround is to remove orphaned jsonl files in that folder that sessions-index.json no longer names, because each frozen launch writes another.

Cursor 3, fans after the project is closed

On 7 April 2026 a paying Cursor user on an M1 Pro MacBook said version 3 made the fans scream, which older Cursor and VS Code on the same machine had not. The thread: the fans stayed up after the project itself was closed, and settled only when Cursor quit. One person measured Cursor holding a steady 20–30% after a fresh reboot and a fresh launch.

There is no Claude session file to clean up. It is a Cursor 3 problem to report to Cursor. Quitting the app is what stopped the fans.

Codex, fans on a new chat

On 17 March 2026 an M3 Max (36 GB) spun its fans almost every time the Codex app was used, including a brand-new chat with no sub-agents. Their Activity Monitor sample: Codex Helper about 32% CPU and 18% GPU, WindowServer about 45% CPU, kernel_task about 26%. Codex issue 18467 is the same class of report — the Codex process near 276% CPU on a small request, fans up, the Mac lagging, and the load gone after quit.

That is the Codex desktop app, not a corrupt Claude transcript. Report it upstream. Quitting Codex is what brought CPU back down.

Only after the cause is real work

Then the background band

Moving a wedged Claude session into the background does not end the loop. The core stays busy. It only stops winning fights with the app in front of you, which is why the file and the hook come first.

When the agent is genuinely working, and you still need the editor to stay responsive, macOS already has a background resource band. A process there keeps running — CPU, disk and timers included — but it receives them only when nothing in the foreground wants them. taskpolicy -b -p <pid> moves one process in, and the same user can move it back. renice cannot: an unprivileged nice value does not come back down.

ProcessX is the menu-bar button for that, on a whole app group rather than one pid, and Restore puts the group back. It will not touch the frontmost app, including a CLI in the frontmost terminal. The native app requires macOS 26. It does not repair a transcript. How the band works.

The idea

Don't kill it. Don't pause it. Just move it out of the way.

macOS already has the right mechanism built in — a background resource band where a process gets CPU, disk I/O and timers only when nothing in the foreground wants them. Almost nothing exposes it. ProcessX is the macOS process explorer that makes it a button.

What you do today

Force Quit, or suffer

Activity Monitor tells you which process is eating your machine and then offers you exactly one lever: kill it. So you either throw away a half-finished build, or you sit and wait while your cursor stutters.

renice looks like the answer until you try to undo it — an unprivileged user can raise a nice value but can never lower it again. One-way door.

ProcessX

Reprioritize, reversibly

One click drops the process into the macOS background band. It keeps running, keeps finishing your encode or your build — it just stops competing with the window you're looking at. Another click lifts it straight back out.

slow down → setpriority(PRIO_DARWIN_PROCESS, pid, PRIO_DARWIN_BG)
restore → … , PRIO_DARWIN_NONE)
Features

One button for the emergency. A watchdog for the rest.

Built for the moment your Mac stops feeling instant — and for making sure that moment stops happening.

QuickFast

The panic button. One click sweeps every background hog into the low-priority band at once — known heavy agents plus anything else burning a quarter of a core in the background. Everything it did is listed in a toast, and Restore all undoes the lot.

Auto-tame watchdog

Optional and off by default. Any background process that stays over the threshold for three consecutive samples gets moved down automatically — the classic runaway ffmpeg. Bring the app to the front and it's restored instantly.

GPU per app

New in 1.2.4. A sortable GPU column next to CPU and Memory, read straight from IOKit with no admin rights. Click the CPU, GPU or Memory card to sort by it, or the Slowed down card to see only what's throttled or capped. Columns resize and scale with the window, so Cap, Slow down and Quit always stay in reach.

Grouped like Activity Monitor

Chrome and its sixty helpers are one row, not sixty. And a terminal-hosted CLI session — an AI coding agent, a build, a dev server — surfaces as its own top-level row instead of hiding inside “Terminal”.

A hard no-touch list

Never the frontmost app. Never WindowServer, Finder or coreaudiod. Never Music, Spotify, Zoom, Teams or FaceTime. Never another user's processes. Never itself. Your call is never overruled by a heuristic.

Zero-subprocess sampling

The native build reads proc_pidinfo, host_statistics64 and IOKit directly — no subprocesses at all, every two seconds. A monitor that costs measurable CPU is a contradiction.

Notify on hogs

On by default. On the same streak that trips Auto-tame, ProcessX asks instead of acting alone: a macOS notification names the app with Slow Down and Cap buttons right on the banner, and spells out the tradeoff — Slow Down is gentle and always reversible; Cap is the stronger hard ceiling, which can interrupt a live connection while the app is paused. Either button acts immediately, no window or popover needed.

Hard CPU cap, opt-in

When you need an actual number rather than a nudge: cap at 25% of a core holds an app's whole process group there. This is the one action that suspends — macOS offers no CPU quota, so a cap has to stop and resume the app on a duty cycle. Off by default, never the app you're using, never media or call apps, paused while you bring it to the front (and back on when you switch away), and it lets go of everything even if ProcessX is force-quit mid-cycle.

Real browser tabs

Expand a browser and the native app asks it over Apple Events for its actual open tabs by name — Chrome, Brave, Edge, Vivaldi, Opera and Safari. Slow the one runaway tab, jump to it, leave the rest alone.

Underneath, every renderer process is listed with live CPU and memory — page renderers apart from extension processes, which serve no tab at all — and the ones the browser has parked in the background band are marked. Parked means idle; not parked doesn't mean on screen, because Chrome demotes a hidden tab's renderer lazily. macOS never says which tab a renderer belongs to — so ProcessX shows you both halves rather than inventing the join.

Two builds

A menu-bar app, and a local web app.

Same policy engine, same safety rules, two very different surfaces. Pick the one that fits how you work.

Recommended

Native Swift menu bar

Live CPU in the menu bar; click for the full list. Reads the kernel directly — zero subprocesses, no HTTP server, no attack surface, no dependencies. Throttle state comes from the kernel's own pti_priority, so it can even detect when something else lifts a throttle you set.

cd swift && ./bundle.sh cp -R build/ProcessX.app /Applications/
Also included

Zero-dependency web app

A single Node file with no npm dependencies, serving a local dashboard on 127.0.0.1:4747. Handy on machines you don't want to build Swift on, and the reason the security model below exists.

node server.js # → http://localhost:4747 npm test # 179 checks
Safety

A tool that changes your system had better be honest about it.

Everything ProcessX does is reversible by construction, scoped to processes you already own, and recorded so that Restore only ever undoes ProcessX's own work.

Reversible by construction

The background band is a symmetric, unprivileged pair of calls — that is exactly why ProcessX uses it instead of renice, which you cannot undo without root. Every throttle is stored with its origin (manual, QuickFast or auto) so Restore never claims credit for a band the browser set on its own inactive tab.

Records are identity-guarded by executable path, so a recycled PID is dropped rather than acted on.

The web app is locked down

A server on loopback is still reachable from any page in your browser. So every state-changing request is gated by an Origin / Sec-Fetch-Site / content-type check, and every /api/ route validates the Host header — which is what stops a DNS-rebinding page from reading your process list.

Rate-limited writes, capped PID lists, no raw OS stderr in responses, CSP and nosniff on static files. There is deliberately no login: ProcessX can only do what you could already do from a terminal.

Q QuickFast R restore all / filter Auto-tame off by default Throttles survive a restart
Verification

Claims that a test suite actually checks.

Both builds ship their own harness, and both of them throttle a sacrificial process the harness spawned itself to prove the kernel really moved it — and moved it back.

179
checks in the web harness
security, contract, fuzz, a11y, e2e
148
checks in the Swift self-test
real syscalls, real child process
0 deps
npm packages
and zero Swift packages
0/sample
subprocesses, native build
down from ~8 every 2 s
Comparison

How ProcessX compares to Activity Monitor, Process Explorer and other Mac process tools.

If you're weighing Activity Monitor, App Tamer, a macOS Process Explorer, iStat Menus, Stats or just living in htop — here's an honest summary, including where the others are genuinely better.

ToolPriceApproachHow ProcessX differs
ProcessXFree, open source macOS process explorer & priority manager that moves processes into the background resource band, reversibly — plus an opt-in hard CPU cap Nothing is ever killed, and by default nothing is suspended either; one-click QuickFast for the whole system; an opt-in watchdog; an opt-in per-app percentage cap that is off by default; hard no-touch list for foreground, system and media apps
Activity MonitorBuilt inThe definitive read-only view of what your Mac is doing Excellent at diagnosis, and it has energy, disk and network tabs ProcessX doesn't. Its only intervention is Force Quit — ProcessX adds the reversible middle ground
App Tamer$14.95 one-time, also on SetappStops and resumes CPU-hungry apps to hold them under a set percentage, and can pin an app to efficiency cores App Tamer is the paid incumbent: a 15-day trial, macOS 10.13 through current, and efficiency-core pinning, which ProcessX cannot do. ProcessX is free, requires macOS 26, and its default action suspends nothing — the kernel keeps the work moving whenever the foreground is idle. The hard cap is opt-in and uses the same stop-and-resume idea
OpenTamerFree, open sourceMenu-bar utility that lowers nice, duty-cycle caps CPU, or pauses an app in the background The closest free cousin. Its lower-priority action is renice to 20, which an unprivileged user cannot undo. ProcessX uses the background resource band, which is reversible, and groups helper processes per app
iStat MenusPaidThe best-in-class menu-bar system monitor iStat Menus covers far more sensors — temperature, fans, network, battery, weather. It doesn't reprioritize anything; ProcessX is a smaller monitor that can act
StatsFree (open source)Popular open-source menu-bar monitor Stats is a superb, mature monitor with far more modules. ProcessX overlaps only on the CPU glance and adds process-level reprioritization
htop · top · btopFreeTerminal process viewers with a renice key ProcessX keeps their per-process granularity, but uses the reversible background band instead of renice — and groups helper processes per app instead of listing all sixty
taskpolicy / reniceBuilt inCommand-line priority control ProcessX is a GUI over exactly this mechanism, plus the parts a one-liner can't give you: finding the hog, refusing to touch what matters, remembering what it did, and undoing all of it at once
Turbo Boost Switcher · thermal toolsFree / paidReduce total CPU output to cut heat and fan noise Those slow down the whole machine. ProcessX slows down one process so the rest of the machine gets faster

People find ProcessX searching for: ProcessX macOS · macOS process explorer · Process Explorer for Mac · Mac task manager · Claude Code using all the CPU · Cursor using all the CPU · Codex using all the CPU · bad Claude Code session file · mac process monitor · why is my Mac so slow · how to fix a slow MacBook · limit CPU usage macOS · throttle a process on Mac · stop Chrome using so much CPU · macOS background band · taskpolicy · renice on Mac · deprioritize a process macOS · Activity Monitor alternative · free App Tamer alternative · iStat Menus alternative · mac menu bar CPU monitor · open source macOS process manager.

How it was built

Written, attacked and rewritten by an AI orchestration pipeline.

ProcessX was built end-to-end by a multi-agent framework: implementation, then an adversarial QA loop that ran fourteen find-and-fix iterations against its own automated harness, then a native rewrite that removed the whole subprocess layer.

Phase 1

Build the harness first

Before any hardening, a zero-dependency harness was written that spins up its own server on a private port with an isolated state file, so tests could never touch a real machine's throttles. Everything after this is measured, not asserted.

179 checks, eight suites
Phase 2

Attack it, then fix it

Iteration 1 found a real hole: no Host validation, so a DNS-rebinding page could read the process list and issue writes. Iterations 5–9 found 28 WCAG contrast failures across both themes. Iterations 10–12 fixed responsive overflow and drove a real throttle round-trip through the DOM.

14 iterations, all green
Phase 3

Delete the subprocesses

The Node build forked around eight processes every two seconds to answer questions the kernel will answer directly. The Swift rewrite replaced all of it with proc_pidinfo, host_statistics64, IOKit and NSWorkspace — and caught a mach-timebase bug that under-reported CPU by 41× on Apple Silicon.

8 subprocesses → 0
FAQ

Questions people actually ask.

Short, direct answers — for readers and for the answer engines that quote them.

Is ProcessX a macOS Process Explorer and Activity Monitor alternative?

Yes. ProcessX is a free, open-source macOS process explorer, task manager and priority monitor. Like Activity Monitor and Process Explorer, it shows live CPU, memory and per-process GPU usage, groups helper processes under their parent app, surfaces terminal CLI sessions as top-level rows, and expands browsers to inspect open tabs and renderer processes. Unlike read-only monitors or tools that only offer Force Quit, ProcessX lets you reversibly move CPU-heavy processes into the macOS background resource band (taskpolicy -b / PRIO_DARWIN_BG) or apply an opt-in hard CPU cap.

Why is Claude Code, Cursor or Codex using all the CPU on my Mac?

Idle Claude Code at 50–60% of a core has been traced to saved_hook_context inside ~/.claude/projects/**/*.jsonl and to a session-start hook. Cursor 3 and the Codex app are separate bugs: the fans dropped when those apps quit. Fix that first. The background band does not end a wedged loop. It does keep a session that is actually working from taking the cores the window in front of you needs. ProcessX moves a chosen group into that band and puts it back. It does not repair a transcript.

How do I stop an app from hogging the CPU on a Mac?

macOS has a background resource band: a scheduling tier where a process gets CPU, disk I/O and timers only when nothing in the foreground wants them. ProcessX moves a chosen process — or a whole app group — into that band with one click, and lifts it back out with another.

The process keeps running and keeps making progress. It simply stops competing with whatever you're actually using. No admin rights are needed, because you can only affect processes you already own.

Is ProcessX a free alternative to App Tamer?

Yes. App Tamer is a mature paid utility that holds an app under a CPU cap by repeatedly stopping and resuming it. ProcessX is free and open source, and its default action suspends nothing: it changes the scheduling band and lets the kernel decide, so a throttled process still runs at full speed whenever your foreground is idle. The native app also has a hard percentage cap, which necessarily works the same way App Tamer's does — it repeatedly suspends and resumes the app. It is off by default, set per app from a menu, never applied to the app you're using, to system processes or to media and call apps, and paused while that app is in front — then resumed on its own when you switch away. A cap from 1.2.5 no longer disappears on a Cmd-Tab. A suspended app can't respond while it's stopped, so reach for "Slow down" first and the cap only when you need a specific number.

Why not just use renice?

Because it's a one-way door. An unprivileged user can raise a nice value but can never lower it back without root — so you could slow a process down and then be unable to undo it. The background band (taskpolicy -b, or setpriority with PRIO_DARWIN_BG) is symmetric for the same user, and it throttles disk I/O and timer coalescing as well as CPU. That reversibility is the entire reason ProcessX is built on it.

Does ProcessX need admin rights, an installer or a kernel extension?

None of the three. No password prompt, no daemon, no kext. It only changes the priority of processes owned by the user running it — exactly what that user could already do from a terminal.

Can ProcessX show CPU and memory usage for each browser tab?

Not per tab — and no macOS tool can, because the operating system does not expose the mapping. macOS reports a browser's renderer processes with their CPU and memory, and Apple Events report tab titles, but nothing joins the two: that link exists only inside the browser itself. ProcessX shows both halves honestly. Expanding a browser row lists the named tabs, then every renderer process with its real CPU and memory. Not every helper is a tab: extension processes are marked as extensions and serve no page at all — on one Chrome, 13 of 36 helpers were extensions. Page renderers the browser has parked in the low-priority band are marked background. The rest are not necessarily on screen: Chrome demotes a hidden tab's renderer lazily, so on that same Chrome 14 page renderers sat above the background band against 4 tabs actually on screen. Not parked means still scheduled normally, not visible. Chrome also shares one renderer across same-site tabs, so there are always fewer page renderers than tabs.

Can I slow down a single browser tab?

Yes. Expanding a browser row lists its renderer processes, and in the native app scriptable browsers — Chrome and its Chromium siblings, plus Safari — are asked over Apple Events for their real open tabs by name, with a Jump button to switch to one. macOS will ask your permission the first time. Non-scriptable browsers such as Firefox still expand to renderer PIDs.

What will ProcessX never touch?

The frontmost application, including a command-line tool running in the frontmost terminal; protected system processes such as WindowServer, Finder and coreaudiod; media and call apps such as Music, Spotify, Zoom, Teams and FaceTime; processes owned by other users; and itself. Auto-tame is off by default, and everything QuickFast does is listed and undoable in one click.

Does ProcessX send my data anywhere?

No. No telemetry, no account, no network calls. The native app reads process information straight from the kernel. The optional local web app binds to 127.0.0.1 only. Every /api/ route validates the Host header, and every state-changing request is gated by an Origin / Sec-Fetch-Site / content-type check, so no web page — not even one pointing its own domain at loopback — can read your process list or throttle anything.

What are the requirements?

The native menu-bar app targets macOS 26 and is built with a Swift 6.2 toolchain. The local web app needs only Node 18 or later and runs on any recent macOS. Both are universal across Apple Silicon and Intel; the CPU accounting is explicitly mach-timebase corrected, so Apple Silicon reports true percentages.

Get your Mac back.

Free and open source. No installer, no admin rights, no telemetry — and every change it makes is one click away from being undone.

Native menu-bar app

Download the notarized disk image — universal (Apple Silicon and Intel). Open it and drag ProcessX to the Applications folder beside it. The image is itself signed, notarized and stapled, and so is the app inside, so it opens with no Gatekeeper warning even on a first launch with no network. Requires macOS 26. A zip is also available.

Or build it yourself with a Swift 6.2 toolchain — bundle.sh produces the same universal bundle, signed with whatever identity you have:

git clone https://github.com/avantigroupai/ProcessX.git cd ProcessX/swift && ./bundle.sh cp -R build/ProcessX.app /Applications/ swift run -c release ProcessX --selftest # 148 real-syscall checks

Local web app

Node 18 or later. No npm install step — there are no dependencies to install.

cd ProcessX node server.js # → http://localhost:4747 npm test # 179-check QA harness

Expanding a browser row to see its real tab names asks macOS for Automation permission the first time. Decline it and you keep the renderer breakdown — CPU, memory, extension processes marked apart, and which renderers the browser has parked — and lose only the tab names.