macOS silicon monitor (E/P cores, GPU, NPU) with a TUI
Project description
monmon
A terminal UI for watching Apple Silicon work: efficiency cores, performance cores, GPU, and the Neural Engine (NPU) — plus the top processes driving load.
One-shot build note: this entire project was generated in a single pass by Claude Opus 4.7 (1M context) running in Claude Code, from the prompt shown at the bottom of this README. No manual edits were made before the first successful run.
Requirements
- macOS on Apple Silicon (M1 or newer)
- Python 3.12+
- uv
sudoaccess (Apple'spowermetricsrequires root)
Install / run
Homebrew (recommended for users)
brew install gavi/monmon/monmon
monmon
From source (for development)
uv sync
uv run monmon
You'll be prompted for your password once — sudo caches it for the session
and powermetrics is spawned under sudo -n so it never blocks the TUI.
Optional flags:
uv run monmon --interval 500 # 500 ms samples (default: 1000)
Quit with q or ctrl-c.
What you see
- CPU panel: every E-core and P-core cluster with per-core active-residency bars and current frequency. E-clusters render in cyan, P-clusters in magenta.
- GPU panel: active residency, frequency, and power draw.
- NPU panel: Apple Neural Engine power.
powermetricsdoesn't expose an "active" counter for ANE, so monmon treats any non-trivial power draw as "in use" and scales the bar against an 8 W ceiling. - Process table: top processes by CPU from
psutil. (powermetrics' task sampler is unreliable across macOS versions, so we use psutil for the "what's running?" view.)
Data source
Everything above comes from a single powermetrics -f plist stream with the
cpu_power, gpu_power, and ane_power samplers. Samples are NUL-delimited
XML plists; see src/monmon/power.py for the parser.
Origin prompt
This is the exact prompt that produced the project, verbatim:
lets build a mac monitoring system that shows gpu
lets use
uv for package management and tui
we need to see e-cores and p-cores and also gpu and npu to see what is being run
go ahead a build it
Model: Claude Opus 4.7 (1M context) via Claude Code. One-shot — the only
follow-up was a cosmetic request to add this section and a CLAUDE.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file monmon-0.1.0.tar.gz.
File metadata
- Download URL: monmon-0.1.0.tar.gz
- Upload date:
- Size: 398.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c516b00d131b38a6cd054cd58b5190daf6b96071a7b70ff9dc4d76588d089a9f
|
|
| MD5 |
ff72036cc14a0e23abd242a87aa9617c
|
|
| BLAKE2b-256 |
f734b3e0e4c7e7916534910e0ed92cb2307732009bdd198e1a0fcfe74c56e860
|
File details
Details for the file monmon-0.1.0-py3-none-any.whl.
File metadata
- Download URL: monmon-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ad4b03f27f6cf1497142de7aa265c88edb5b0393ba34721c731921c91607cf1
|
|
| MD5 |
21639c4640db02b11953689ad8e9bf8f
|
|
| BLAKE2b-256 |
dc214e8eca956ee82a471e83cec228b5bf073802b264667ea50e87b5241314ea
|