Graphics card image

gpustat – monitor GPU status from the command line

gpustat is a command-line utility for quickly checking GPU activity and the processes using graphics or compute resources. It presents a compact summary of hardware status without requiring a full-screen monitoring application.

The utility reports information such as utilisation, temperature, memory consumption and the processes occupying GPU memory. Its concise output makes it useful for checking a workstation, examining a remote server over SSH or investigating whether a device has sufficient resources for another workload.

Although originally developed for NVIDIA GPUs, gpustat now supports AMD graphics hardware and Huawei Ascend NPUs. It uses the appropriate management interface for each supported accelerator family.

Users can request additional information when needed, run the utility in a continuously updating mode or produce structured output for scripts and external monitoring tools.

This is free and open source software.

Key Features

  • Displays GPU utilisation, temperature and memory consumption.
  • Supports NVIDIA GPUs through NVML.
  • Monitors AMD GPUs through ROCm SMI.
  • Provides support for Huawei Ascend 910B NPUs through npu-smi.
  • Automatically selects an available backend or allows one to be specified explicitly.
  • Lists processes using the accelerator together with allocated memory.
  • Optionally displays usernames, process IDs and executable names.
  • Can show complete command lines and CPU statistics for running processes.
  • Reports fan speed, encoder and decoder utilisation where available.
  • Displays GPU power draw and power limits on supported hardware.
  • Supports selecting particular GPU devices for monitoring.
  • Provides a built-in watch mode with configurable update intervals.
  • Produces JSON output for scripts and monitoring systems.
  • Exposes a Python API for querying accelerator statistics programmatically.
  • Supports colourised output and generated shell-completion scripts.
  • Cross-platform support – runs on Linux and Windows.

Website: github.com/wookayin/gpustat
Support:
Developer: Jongwook Choi
License: MIT License

gpustat

gpustat is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

NVIDIA GPU Monitoring Tools
NVTOP(h)top like task monitor for AMD, Intel and NVIDIA GPUs
nvitopBills itself as “the one-stop solution for GPU process management”
LACTConfigures and monitors AMD, NVIDIA and Intel GPUs
GPU HotReal-time NVIDIA GPU monitoring dashboard
gpustatQuery and monitor GPU status
GreenWithEnvyGUI System tool
NVDashboardJupyterLab extension for displaying dashboards of GPU usage
nv-monitorLightweight terminal-based monitoring application
nvidia-htopEnriches the output of nvidia-smi
gptopCross-platform GPU monitor
NVIDIA System MonitorTask manager monitoring your GPU

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted