System Overview — monitor app
System Overview is a btop-style system monitor in one 1024x768 window, built from the new XFrame monitor widgets. Four XSysBox composites (CPU / MEM / NET / DISK), one XLoadBadge, two XDonutGauges and three XUsageBars — every value read live from /proc and refreshed every 500 ms.

What it shows
- Top row: XLoadBadge — 1 / 5 / 15 min load averages with colour thresholds, core count and uptime.
- Middle rows: four XSysBox composites — CPU, MEM, NET (KB/s) and DISK / — each with a title, a big live number, a history graph and a usage bar.
- Bottom row: two XDonutGauges (CPU, Disk /) and three XUsageBars (Memory, Disk /, Network KB/s).
Live data
Nothing is seeded demo data. CPU comes from /proc/stat deltas, memory from /proc/meminfo, network receive rate from /proc/net/dev, load and uptime from /proc/loadavg and /proc/uptime, disk use from statvfs("/") (C) / df -k / (Rust) / shutil.disk_usage("/") (Python). The C and Rust SysBox history graphs are flushed with live ticks before the screenshot is taken; the Python widgets start a fresh series on the first live push, so no seeded sine-wave tail ever shows.
Build and run — C
cd examples/monitor/system-overview
make # builds ./system-overview
./system-overview # needs an X display; Esc / q / window-close quitsBuild and run — Rust
cargo run -p xframe-demo --example monitor_system_overviewBuild and run — Python
PYTHONPATH=. python3 examples/monitor_system_overview/main.pyGet the code
The app ships in all three LightGUI repos, on branch monitor-apps/system-overview:
- lightgui (C) — examples/monitor/system-overview/main.cpp
- lightgui_rust (Rust) — crates/xframe-demo/examples/monitor_system_overview/main.rs
- lightgui_python (Python) — examples/monitor_system_overview/main.py