Real-time hardware monitoring dashboard in three flavors: slick terminal UI, Flet desktop GUI, and matplotlib-based technical view.
- CPU — per-core load bars, average %, frequency
- RAM — usage %, used/total GB, swap
- GPU (NVIDIA) — temperature, load, VRAM, power draw, fan speed, running processes
- Disks — per-partition usage bars
- Network — real-time up/down throughput (KB/s)
- AI inference — detects local inference engines (Ollama, llama.cpp, LM Studio, GPT4All, AnythingLLM, Unsloth Studio, KoboldCpp, vLLM, ...) and shows the engine + model loaded in memory + memory footprint
- Live charts — configurable time window (1m / 2m / 5m / all) with CPU, RAM, GPU, Network history
- Power meters — CPU power in the CPU card (and on the CPU chart, secondary axis) plus a dedicated system power chart (CPU + all GPUs) with a live total badge. Measurements are real where available (NVML for GPUs, LibreHardwareMonitor/MSR for the CPU when elevated); otherwise the CPU value is a TDP-based estimate, always marked with
~/(stima)— an estimate is never presented as a measurement. - Multi-GPU charts — the GPU chart plots every NVIDIA GPU (e.g. RTX 3060 + Tesla P40) on a single dual-axis graph, or lets you pick a single GPU from a selector
- GPU focus selector (terminal) — in
main.py, pressGto cycle the focused GPU (overview → RTX 3060 → Tesla P40 → …) and see a single-GPU detail view with its processes - Alert thresholds — CPU warn 80%, RAM warn 80%, GPU temp warn 75°C / danger 85°C
| Mode | File | Tech | Vibe |
|---|---|---|---|
| Terminal | main.py |
Rich | Cyberpunk terminal chic |
| GUI | main_flet.py |
Flet | Dark neon desktop app |
| Technical | main_graph.py |
Matplotlib + LibreHardwareMonitor | Full-sensor plotting |
# Create venv
python -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # Linux/macOS
# Install
pip install -r requirements.txt
# Run
python main.py # Rich terminal dashboard
python main_flet.py # Flet desktop GUI
python main_graph.py # Matplotlib+LHM technical viewOr use the launcher scripts:
| Launcher | OS | Runs |
|---|---|---|
run_dashboard.bat / .sh |
Win / Linux | main.py |
run_flet.bat / .sh |
Win / Linux | main_flet.py |
run_tesla_panel.bat / .sh |
Win / Linux | main_graph.py |
rich>=13
psutil>=5.9
pynvml>=11.5
flet>=0.23
matplotlib>=3.7
keyboard>=0.13
Linux note:
keyboardrequires root on Linux. Install viapipbut run dashboards without it:pip install -r requirements.txt # keyboard not needed for main.py / main_flet.py
| Dashboard | Windows | Linux | Notes |
|---|---|---|---|
main.py (Rich TUI) |
✅ | ✅ | psutil + pynvml — fully cross-platform |
main_flet.py (Flet GUI) |
✅ | ✅ | Same data layer — works anywhere |
main_graph.py (Matplotlib) |
✅ | LHM sensors are Windows-only; NVML works on Linux with NVIDIA drivers |
main_graph.py gracefully degrades on Linux: LHM-dependent sensors (fan RPM/PWM, advanced CPU metrics)
are silently skipped. GPU data via NVML still works. The dashboard runs, just with fewer sensors.
sys_info/
├── main.py # Rich terminal dashboard
├── main_flet.py # Flet GUI entry point
├── main_graph.py # Matplotlib Tesla Monitor
├── dashboard.py # Flet Dashboard class
├── data_collector.py # psutil + pynvml data layer
├── ai_detector.py # Local AI inference engine detector (engine + model in memory)
├── charts.py # Matplotlib chart renderers
├── config.py # Theme & config loader
├── config.json # Thresholds & defaults
├── lhm/ # LibreHardwareMonitor (external .NET app)
└── resources/ # Screenshots
Edit config.json:
{
"refresh_ms": 1000,
"history_points": 60,
"chart_refresh_s": 3,
"thresholds": {
"cpu_warn": 80,
"ram_warn": 80,
"gpu_temp_warn": 75,
"gpu_temp_danger": 85
},
"power": {
"cpu_tdp_w": null,
"platform_estimate_w": 0,
"lhm_enabled": true
}
}config.json is the single source of truth: both the Rich TUI (main.py) and the Flet GUI
(dashboard.py) read their refresh interval, chart window and color thresholds from it —
edit the numbers above to change when bars turn yellow/red.
| Key | Meaning |
|---|---|
cpu_tdp_w |
CPU TDP in watts. null = auto-detect from the CPU model (curated map, default 65 W). |
platform_estimate_w |
Optional flat baseline (W) added to the system total for motherboard/RAM/disks. Default 0 = not invented. |
lhm_enabled |
true = try a real CPU reading via LibreHardwareMonitor (needs admin/MSR). false = skip .NET entirely and always estimate. |
About CPU power accuracy: real CPU power requires MSR/RAPL access. Run the dashboard
as administrator to get a true reading (source = lhm); without elevation LibreHardwareMonitor
reports 0.0 W, so a TDP-based estimate is used instead (source = estimate, shown as ~).
GPU power is always real via NVML.
MIT
- Linux sensor support for
main_graph.py— replace LibreHardwareMonitor (Windows/.NET) withlm-sensorsor/sys/class/hwmonon Linux to recover fan RPM, PWM, and advanced CPU temperature metrics. The dashboard already works without LHM but shows fewer sensors. - macOS support — test and adapt sensor paths (NVML works, psutil works, no LHM).
- AMD GPU support — currently NVIDIA-only via NVML. Add ROCm SMI or
amdgpusysfs. - Packaging —
pyinstaller/briefcaseone-click .exe for Windows, AppImage for Linux. - System tray — minimize to tray with quick-glance tooltip showing CPU/GPU temps.


