1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

nvidia_gpu_: fix current temperature on nvidia 460

Tested with
NVIDIA-SMI 460.32.03
Driver Version: 460.32.03
CUDA Version: 11.2
This commit is contained in:
Giacomo Mazzamuto 2021-03-18 11:29:37 +01:00 committed by Lars Kruse
parent c7299aeba2
commit 3c481585de

View file

@ -214,7 +214,7 @@ fi
# Get requested value
case $name in
temp)
valueGpus=$(echo "$smiOutput" | grep -A 1 "Temperature" | grep -i "Gpu" | cut -d : -f 2 | cut -d ' ' -f 2)
valueGpus=$(echo "$smiOutput" | grep "GPU Current Temp" | cut -d : -f 2 | cut -d ' ' -f 2)
;;
mem)
totalMemGpus=$(echo "$smiOutput" | grep -v BAR1 | grep -A 3 "Memory Usage" | grep "Total" | cut -d : -f 2 | cut -d ' ' -f 2)