mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51: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:
parent
c7299aeba2
commit
3c481585de
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ fi
|
||||||
# Get requested value
|
# Get requested value
|
||||||
case $name in
|
case $name in
|
||||||
temp)
|
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)
|
mem)
|
||||||
totalMemGpus=$(echo "$smiOutput" | grep -v BAR1 | grep -A 3 "Memory Usage" | grep "Total" | cut -d : -f 2 | cut -d ' ' -f 2)
|
totalMemGpus=$(echo "$smiOutput" | grep -v BAR1 | grep -A 3 "Memory Usage" | grep "Total" | cut -d : -f 2 | cut -d ' ' -f 2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue