1. Show current GPU usage
Nvidia-smi
2. Usage of the periodic input GPU
Use the watch command to periodically output GPU usage
$ Whatis Watch
Watch (1)-Execute a program periodically, showing output fullscreen
$watch
Usage:
Watch [Options] Command
Options:
-B,--beep beep if command has a Non-zero exit
-C,--color interpret ANSI color sequences
-D,--differences[=<permanent>]
Highlight changes between updates
-E,--errexit exit if command has a Non-zero exit
-G,--chgexit exit when output from command changes
-N,--interval <secs> seconds to wait between updates
-P,--precise attempt Run command in precise intervals
-T,--no-title turn off header
-X,--exec Pass command to exec instead of "sh-c"
-H,--help display this help and exit
-V,--version output version information and exit
The GPU usage is refreshed once every 10s
Watch-n Nvidia-smi
View Nvidia's GPU using emotion under Linux