mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-06-30 06:12:09 -06:00
| .. | ||
| monitor_minimal.py | ||
| README.md | ||
Minimal GPU Monitor
A one-shot, no-extras script that prints the same information nvitop shows in its TUI, but as plain text. Useful as a starting point for custom monitoring scripts.
APIs Used
nvitop.Device.all()nvitop.Device.processes()- The various
Device.<metric>()accessors (fan_speed,temperature,gpu_utilization,memory_*).
Run
python3 examples/monitor-minimal/monitor_minimal.py
Requires only nvitop itself; no other dependencies.
See ../README.md for the full example index.