dots/scripts/Documents/Scripts/nvidiatemps.sh

6 lines
237 B
Bash
Raw Normal View History

2024-04-29 19:05:39 +02:00
#!/bin/sh
ninesixty=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader | sed '1!d')
tensixty=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader | sed '2!d')
echo "960: "$ninesixty"°C" "|" "1060: "$tensixty"°C"