Fusion of Engineering, Control, Coding, Machine Learning, and Science

How to Monitor GPU Usage and GPU Resources on Linux Ubuntu – NVIDIA-SMI

In this tutorial, we explain how to monitor GPU usage and GPU resources on Linux Ubuntu. To monitor the GPU resources and consumed power we will use nvidia-smi and watch commands. The YouTube tutorial is given below.

How to Monitor GPU Resources and Usage Periodically on Linux Ubuntu - NVIDIA-SMI

The command for monitoring the resources is

watch -n 1 nvidia-smi

The output is given below.

This command will output the GPU usage, GPU power, and used GPU resources with a period of 1 second. For example, if you want to display the GPU usage with the period of 2 seconds, we need to type

watch -n 2 nvidia-smi
Exit mobile version