mxmon fuses htop's process management with Mx-Power-Gadget-class SoC telemetry, a live network panel, an AlDente-style battery power-flow, and a real-time thermal map of your MacBook's chassis, all in a neon terminal UI that redraws only when data changes, so it sips CPU when idle. Everything is read straight from macOS frameworks: no sudo, no kexts, no daemons. Every one of those readings is also available headless, as a versioned JSON contract with dot-path queries and real exit codes, so a script or an agent can read this machine's power and thermals without a password prompt.
Built to be run by a program, not just piped to one. powermetrics, the usual way to
read Apple Silicon power and frequency, refuses to run as anything but root: inside an agent
loop that is a hung password prompt, a sandbox denial, or a failed CI job. mxmon reads the
same class of counters through the same private frameworks with no privileges, and it answers
a question instead of dumping a document.
mxmon schema --format compact # every queryable path and its type
mxmon get power.package_w thermal.throttling # pull values, one per line
mxmon check 'thermal.throttling == false' && cargo build # gate a build on a condition
mxmon top power # rank processes by watts
Read verbs settle and exit; nothing here needs a terminal, a signal, or a guessed timeout.
The full surface is Agents & scripting, and AGENTS.md is
the guide written for an agent to read.
Features
| |
|---|
| CPU: per-cluster E/P meters, live DVFS frequencies from IOReport residencies, utilization history, core temps | Power: PKG / CPU / GPU / ANE / RAM / display rails in watts, with history, peaks, and total system power from the SMC |
| GPU: Activity-Monitor-matching utilization, frequency, render/tiler meters, VRAM, temperature | Memory: Activity Monitor's exact formula (app + wired + compressed), cached files, swap, kernel pressure |
| Network: live ↓/↑ rates, stacked graphs, session totals, primary interface, link speed, local IP | Battery flow: charge, health, cycles, temp + adapter → system → SoC / display power-flow diagram |
| Chassis heat map: a live thermogram from 50+ die & board sensors over a blueprint of the machine itself: the SoC package with die and LPDDR, spinning fans, battery cells filling with charge | Processes: sortable / filterable table, real phys_footprint memory, CPU %, a real watts column, threads, kill w/ signal picker |
| Disk: R/W throughput graphs, IOPS, volume capacity, and true per-op device latency from the block-storage drivers | Connections: every process's live TCP/UDP flows with rates, RTT and retransmit %, nettop-class data, plus per-process ↓/↑ columns |
The PWR column is real physics, not a score: per-process energy counters (nanojoules, split by P/E cluster) that macOS otherwise only surfaces through sudo powermetrics. Sort by it to see what's actually eating the battery: a renderer at 46% CPU on E-cores can cost 76 mW while a 30% P-core process burns a full watt. Enter shows IPC, core mix, and disk/net IO per process.