monitor NVIDIA GPU. nvidia-smi (2025)
what is NVIDIA-SMI
ai answer
**NVIDIA-SMI (NVIDIA System Management Interface), also known as NVSMI, is a command-line utility used to monitor and manage NVIDIA GPU devices. It is based on the NVIDIA Management Library (NVML) and is bundled with NVIDIA GPU display drivers on Linux and 64-bit Windows systems.
The tool allows administrators to query GPU device state and, with appropriate privileges, modify it. It supports various NVIDIA product lines, including Tesla, Quadro, GRID, Titan X, and GeForce devices. Key capabilities include:
- Real-time Monitoring: Tracking GPU utilization, memory usage, temperature, and power consumption.
- Process Management: Listing and managing processes currently using the GPU.
- Configuration: Setting persistence mode, compute mode, and power limits.
- Data Export: Reporting query information as XML or CSV for scripting and automation.
Common usage involves running nvidia-smi in the terminal to display a summary table of all GPUs in the system, providing insights into health, workload, and performance.
nvidia-smi
nvidia-smi