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:
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
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
Full options in the manual.