Overview
nvitop is a one-stop tool for NVIDIA GPU monitoring and process management. It combines an htop-style interactive terminal monitor with a Python library for querying device and process state, and an exporter for feeding metrics into Prometheus and Grafana.
Key Features
- Interactive terminal UI with per-process GPU, CPU, and memory usage
- Process management such as filtering, tree view, and sending signals
- Python API for device and process queries and resource collection in training code
- Prometheus exporter with a Grafana dashboard
Use Cases
- Inspecting who is using a shared GPU server
- Logging GPU usage from training scripts
Technical Details
- Pure Python on top of NVML bindings
- Supports Linux and Windows
