10

I use the CUDA toolkit to perform some computations on my Nvidia GPUs. How can I see the per-process GPU usage on a Linux machine (CUDA)?

nvidia-smi does list all processes for each GPU, but doesn't indicate the GPU utilization per process:

enter image description here

2
  • I haven't found any solution so far. Mar 28, 2016 at 18:24
  • So I am still interested if someone has any idea. Mar 28, 2016 at 18:24

1 Answer 1

12

I stumbled upon the following:

watch -n 0.5 nvidia-smi pmon -c 1

Though it seems to have a different measure of GPU usage than the volatility metric in the usual nvidia-smi.

Full options in the manual.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.