5 lines
115 B
Bash
Executable File
5 lines
115 B
Bash
Executable File
#!/bin/sh
|
|
|
|
c_gputemp=`nvidia-smi -q | grep 'GPU Current Temp' | awk '{print $(NF-1)}'`
|
|
echo GPU Temp: $c_gputemp C
|