Files
Muse 11f7dd70e6 monitor/cpu-dashboard (Python): btop-style CPU dashboard app
XCoreGrid + XTachometer + XHistoryGraph + XLoadBadge + XUsageBar in one
1024x768 window, live /proc/stat + /proc/loadavg sampled every 500 ms
via refresh_cores()/refresh_load(). Pushing live samples starts fresh
series, so the seeded demo data is replaced on the first live sample.
2026-12-05 20:09:23 +00:00
..

CPU Dashboard — monitor (Python)

A btop-style CPU dashboard in one 1024x768 window, built only from LightGUI XFrame monitor widgets:

  • XCoreGrid — per-core mini history graphs
  • XTachometer — big total-CPU % gauge (redline 80%)
  • XHistoryGraph — total CPU % over the last 60 s
  • XLoadBadge — load average 1/5/15 min + uptime
  • XUsageBar — total CPU % bar

Live data comes from /proc/stat (per-core busy %, via XCoreGrid.refresh_cores()) and /proc/loadavg (via XLoadBadge.refresh_load()), sampled every 500 ms. Pushing live samples starts fresh series, so the deterministic demo data is replaced on the first live sample.

Run

PYTHONPATH=. python3 examples/monitor_cpu_dashboard/main.py

Esc, q, or closing the window quits.

Source