5 lines
246 B
Bash
Executable file
5 lines
246 B
Bash
Executable file
#!/bin/sh
|
|
tensixty3=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader | sed '1!d')
|
|
tensixty6=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader | sed '2!d')
|
|
|
|
echo "1060 3G: "$tensixty3"°C" "|" "1060 6G: "$tensixty6"°C"
|