mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 10:39:53 +00:00
Merge pull request #1485 from tofurky/nvidia_driver_570
nvidia_gpu_: fix utilization when using 570.x driver
This commit is contained in:
commit
c40a07ba47
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ case $name in
|
|||
valueGpus=$(echo "$smiOutput" | grep "Power Draw" | cut -d ':' -f 2 | cut -d ' ' -f 2)
|
||||
;;
|
||||
utilization)
|
||||
valueGpus=$(echo "$smiOutput" | grep "Gpu" | cut -d ':' -f 2 | cut -d ' ' -f 2)
|
||||
valueGpus=$(echo "$smiOutput" | grep -A 1 "Utilization" | grep -i "GPU" | cut -d ':' -f 2 | cut -d ' ' -f 2)
|
||||
;;
|
||||
rx)
|
||||
rxGpus=$(echo "$smiOutput" | grep "Rx Throughput" | cut -d ':' -f 2 | cut -d ' ' -f 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue