Commit Graph
24 Commits
Author SHA1 Message Date
Muse 8fb940582e Merge monitor-apps/task-manager into monitor-apps-all
Resolve monitor.py conflict: keep the process-manager selected-row
highlight AND the task-manager width-relative column positions
(xs[0] for the PID column instead of fixed x=6).
2026-12-05 20:59:31 +00:00
Muse 16ebfd719b Stage 2 monitor app: Task Manager clone (Processes + Performance tabs)
Python port of the Task Manager clone: TPageControl with two tabs
(tab clicks need app-level hit handling, fixed tab-width 140).
Processes tab is a live XProcessList from /proc (sortable PID /
Program / User / Mem / CPU% columns, header clicks toggle the
direction). Performance tab is XHistoryGraph (60 s CPU + memory),
XCoreGrid (per-core), XUsageBar (Memory, Disk /, Swap), XStackBar
(memory breakdown) and XNetGraph (live /proc/net/dev rates). Data
sampled every 500 ms (GLib timeout); window repaints every 2 s
(a full redraw is ~38 rows x 5 text calls plus the graphs, and
repainting every tick burned ~40% of a core); the process list
refreshes every 2 s. Python monitor widgets draw dark btop-style
panels, so the window background is dark.

Also fixes two XProcessList issues the app exposed: the columns
were fixed offsets drawn for the 360px demo widget (a wide widget
was mostly empty) -> width-relative fractions, same as the C++
widget, plus a v/^ sort marker in the header; and _read_processes
opened /proc/<pid>/status for every process on every scan (671 ms
CPU for 400 processes) -> RSS now comes from stat field 24 and
the uid lookup is cached per (pid, starttime), so a warm scan is
~75 ms (9x faster).
2026-12-05 20:55:30 +00:00
Muse da3a9d3343 Merge monitor-apps/temperature-monitor into monitor-apps-all 2026-12-05 20:53:09 +00:00
Muse 66ba965206 Temperature Monitor app: honest zero-sensor state + MonitorWidget.clear()
Single-widget monitor app (XTempHistory, 80 C threshold) reading
/sys/class/thermal + /sys/class/hwmon every 2 s. hot_dallas has no
thermal sensors, so the app shows the widget empty state (no data,
no fake readings) with a title that says so. Adds additive
MonitorWidget.clear() and an empty-state readout.
2026-12-05 20:46:45 +00:00
Muse a6b084e214 Merge monitor-apps/network-monitor into monitor-apps-all 2026-12-05 20:23:25 +00:00
Muse 512fdd5ecf Merge monitor-apps/disk-monitor into monitor-apps-all 2026-12-05 20:19:48 +00:00
Muse 7d512cf5af Merge monitor-apps/cpu-dashboard into monitor-apps-all 2026-12-05 20:18:56 +00:00
Muse 9bb8f27603 Merge monitor-apps/memory-monitor into monitor-apps-all 2026-12-05 20:17:17 +00:00
Muse 0934970206 Network Monitor app (Stage 2): live /proc/net/dev monitor - XNetGraph + 2x XSysBox + XHistoryGraph + XUsageBar 2026-12-05 20:15:48 +00:00
Muse 00ea2f43af Merge monitor-apps/process-manager into monitor-apps-all 2026-12-05 20:14:27 +00:00
Muse b197a366ec Disk Monitor app (Stage 2): live per-mount usage bars, Used/Free stack bar, read/write IO history graph
1024x768 window, 1 s refresh from /proc/mounts + os.statvfs and
/proc/diskstats. XUsageBar + XStackBar + XHistoryGraph; seeded demo
data replaced on first tick (push/set_segments start fresh own
data). Harness background is the widgets near-black panel color
(XStackBar paints no panel of its own). XSysBox deliberately unused
(no clear-history API, constructor seeds 60 demo samples).
Screenshot verified 1024x768 on :116. Tests: 363 OK.
2026-12-05 20:13:54 +00:00
Muse fc040ef4b2 Merge monitor-apps/system-overview into monitor-apps-all 2026-12-05 20:11:25 +00:00
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
Muse 9cbabb9d71 Memory monitor app (Stage 2): Python implementation + screenshot 2026-12-05 20:08:26 +00:00
Muse 05b1b0f7c1 System Overview monitor app (Stage 2): XSysBox x4 + XLoadBadge + XDonutGauge x2 + XUsageBar x3, live /proc data, 500 ms refresh 2026-12-05 20:06:11 +00:00
Muse e1da839538 Process Manager monitor app (Python): MonitorWidget filter+selection, live /proc list, Terminate/Kill/Refresh 2026-12-05 20:04:03 +00:00
Muse 1c33577bb9 monitor-apps/service-dashboard: Service Dashboard app (XMonitorGrid, 12 live dallas services)
One 1024x768 window: XMonitorGrid of XMonitorButton cells for the
real services on hot_dallas -- ports 22/80/443/81/2368/5000/5009/7888,
processes dockerd/containerd, units docker.service/ssh.service.
Live poll_all() on a 2 s GLib timer; green up / red down.
Screenshot verified: 12/12 up. Tests: 363 passed.
2026-12-05 19:55:15 +00:00
Muse 03065d35bf README: widget count 547 -> 562, Monitor (15) family section
363 tests; 598-entry palette (562 widgets + 36 legacy); new
X* monitor-family bullet + layout entries; examples README
counts (209 XFrame) + monitor live-timer note.
2026-12-05 17:09:58 +00:00
Muse b361a35909 Fix XStackBar legend: drop overlapping total text
The right-aligned total overlapped the last legend item and its
byte formatting was meaningless for unitless segments. Legend now
shows only the segment chips + percentages.
2026-12-05 17:09:23 +00:00
Muse 841dddcef6 Examples + shots: XProcessList, XLoadBadge, XMonitorButton, XMonitorGrid, XSysBox
Designer-pattern examples + Xvfb :107 screenshots. The last four
feed live data (real /proc processes, load averages, sshd :22 /
unit checks); XProcessList re-shot after the wall-time CPU% fix
(busy loop now reads ~97%, not ~240%).
2026-12-05 17:08:17 +00:00
Muse 2ecc09dd4d Examples + shots: XStackBar, XVerticalBar, XTachometer, XArcGauge, XDonutGauge
Designer-pattern examples + Xvfb :107 screenshots (see Batch B
for the harness/shooter). Gauges re-shot after the _arc_stroke
fix; tachometer readout moved clear of the 0/max labels.
2026-12-05 17:07:59 +00:00
Muse 2d52b55743 Examples + shots: XHistoryGraph, XCoreGrid, XNetGraph, XTempHistory, XUsageBar
Designer-pattern examples (xgraph.py harness + live-demo GLib timer
feeding seeded/live sine data). Screenshots under Xvfb :107 via
tools/shoot_monitor.py (xdotool + import, PIL non-blank check).
2026-12-05 17:07:40 +00:00
Muse bbc284d0bb docs(pythondoc): runnable example programs for all 547 widgets
One minimal complete program per widget, from the designer codegen
(one window, one widget, OnClick wired). Every example was run under
Xvfb and screenshotted (547/547 ok); screenshots appear on the widget
pages at pythondoc.lightgui.com.
2026-12-02 06:04:20 +00:00
Muse 4f9f1bff32 docs(pythondoc): runnable example programs for 5 pilot widgets
Minimal complete programs from the designer codegen (one window, one
widget, OnClick wired), plus examples/README.md. Screenshots taken
under Xvfb prove each runs. Full 547-widget set follows.
2026-12-02 05:54:31 +00:00