-2

If I want to have gpu stats I can use gpustats as suggested in this answer

Is there a way to output this results (with watch) to a file?

KansaiRobot
  • 417
  • 7
  • 18
  • 1
    https://askubuntu.com/questions/420981/how-do-i-save-terminal-output-to-a-file – Artur Meinild Jul 03 '23 at 06:49
  • Does this answer your question? [How do I save terminal output to a file?](https://askubuntu.com/questions/420981/how-do-i-save-terminal-output-to-a-file) – karel Jul 03 '23 at 13:35

1 Answers1

-1

Got this using

gpustat -cp --watch 2>&1 | tee ResultFile.txt
KansaiRobot
  • 417
  • 7
  • 18