2

I usually work with a Linux server to train deep learning models. When I use my work server, I simply do watch -n 5 nvidia-smi and I get the output for nvidia-smi at five second intervals.

I'd like to replicate this behavior for my personal desktop as well, but am not sure how. I've taken a look at this question: What is the Windows analog of the Linux watch command? but the answers seem rather..."hacky."

Is there any other standard way that I can monitor GPU usage without having to install any third party tool? Thanks.

Sean
  • 625

1 Answers1

4

Have a look at the help page: nvidia-smi -h.

You can find the commands nvidia-smi -l and nvidia-smi -lms there. The former loops every given seconds and the latter every given milliseconds.

So in your case the equivalent would be nvidia-smi -l 5

n3s
  • 41
  • 2