mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
Update amd_gpu_
This commit is contained in:
parent
36588f9275
commit
620526a2d8
1 changed files with 5 additions and 5 deletions
|
@ -116,7 +116,7 @@ if [ "$1" = "config" ]; then
|
||||||
nGpusCounter=0
|
nGpusCounter=0
|
||||||
while [ $nGpusCounter -lt $nGpus ]
|
while [ $nGpusCounter -lt $nGpus ]
|
||||||
do
|
do
|
||||||
gpuName=`echo "$nGpusOutput" | grep "\ $nGpusCounter\.\ " | cut -f 3 -d "." | sed -r 's/^[0-9]\ //'`
|
gpuName=`echo "$nGpusOutput" | grep "\ $nGpusCounter\.\ " | cut -f 3 -d "." | sed -r 's/^[0-9]+\ //'`
|
||||||
echo "temp${nGpusCounter}.warning ${warning:-75}"
|
echo "temp${nGpusCounter}.warning ${warning:-75}"
|
||||||
echo "temp${nGpusCounter}.critical ${critical:-95}"
|
echo "temp${nGpusCounter}.critical ${critical:-95}"
|
||||||
echo "temp${nGpusCounter}.info Temperature information for $gpuName"
|
echo "temp${nGpusCounter}.info Temperature information for $gpuName"
|
||||||
|
@ -143,7 +143,7 @@ if [ "$1" = "config" ]; then
|
||||||
nGpusCounter=0
|
nGpusCounter=0
|
||||||
while [ $nGpusCounter -lt $nGpus ]
|
while [ $nGpusCounter -lt $nGpus ]
|
||||||
do
|
do
|
||||||
gpuName=`echo "$nGpusOutput" | grep "\ $nGpusCounter\.\ " | cut -f 3 -d "." | sed -r 's/^[0-9]\ //'`
|
gpuName=`echo "$nGpusOutput" | grep "\ $nGpusCounter\.\ " | cut -f 3 -d "." | sed -r 's/^[0-9]+\ //'`
|
||||||
echo "memclock${nGpusCounter}.info Memory clock information for $gpuName"
|
echo "memclock${nGpusCounter}.info Memory clock information for $gpuName"
|
||||||
echo "memclock${nGpusCounter}.label Memory clock ($gpuName)"
|
echo "memclock${nGpusCounter}.label Memory clock ($gpuName)"
|
||||||
echo "coreclock${nGpusCounter}.info Core clock information for $gpuName"
|
echo "coreclock${nGpusCounter}.info Core clock information for $gpuName"
|
||||||
|
@ -160,7 +160,7 @@ if [ "$1" = "config" ]; then
|
||||||
nGpusCounter=0
|
nGpusCounter=0
|
||||||
while [ $nGpusCounter -lt $nGpus ]
|
while [ $nGpusCounter -lt $nGpus ]
|
||||||
do
|
do
|
||||||
gpuName=`echo "$nGpusOutput" | grep "\ $nGpusCounter\.\ " | cut -f 3 -d "." | sed -r 's/^[0-9]\ //'`
|
gpuName=`echo "$nGpusOutput" | grep "\ $nGpusCounter\.\ " | cut -f 3 -d "." | sed -r 's/^[0-9]+\ //'`
|
||||||
echo "fan${nGpusCounter}.info Fan speed information for $gpuName"
|
echo "fan${nGpusCounter}.info Fan speed information for $gpuName"
|
||||||
echo "fan${nGpusCounter}.label Fan speed ($gpuName)"
|
echo "fan${nGpusCounter}.label Fan speed ($gpuName)"
|
||||||
: $(( nGpusCounter = $nGpusCounter + 1 ))
|
: $(( nGpusCounter = $nGpusCounter + 1 ))
|
||||||
|
@ -175,7 +175,7 @@ if [ "$1" = "config" ]; then
|
||||||
nGpusCounter=0
|
nGpusCounter=0
|
||||||
while [ $nGpusCounter -lt $nGpus ]
|
while [ $nGpusCounter -lt $nGpus ]
|
||||||
do
|
do
|
||||||
gpuName=`echo "$nGpusOutput" | grep "\ $nGpusCounter\.\ " | cut -f 3 -d "." | sed -r 's/^[0-9]\ //'`
|
gpuName=`echo "$nGpusOutput" | grep "\ $nGpusCounter\.\ " | cut -f 3 -d "." | sed -r 's/^[0-9]+\ //'`
|
||||||
echo "load${nGpusCounter}.info Load information for $gpuName"
|
echo "load${nGpusCounter}.info Load information for $gpuName"
|
||||||
echo "load${nGpusCounter}.label Load ($gpuName)"
|
echo "load${nGpusCounter}.label Load ($gpuName)"
|
||||||
: $(( nGpusCounter = $nGpusCounter + 1 ))
|
: $(( nGpusCounter = $nGpusCounter + 1 ))
|
||||||
|
@ -189,7 +189,7 @@ if [ "$1" = "config" ]; then
|
||||||
nGpusCounter=0
|
nGpusCounter=0
|
||||||
while [ $nGpusCounter -lt $nGpus ]
|
while [ $nGpusCounter -lt $nGpus ]
|
||||||
do
|
do
|
||||||
gpuName=`echo "$nGpusOutput" | grep "\ $nGpusCounter\.\ " | cut -f 3 -d "." | sed -r 's/^[0-9]\ //'`
|
gpuName=`echo "$nGpusOutput" | grep "\ $nGpusCounter\.\ " | cut -f 3 -d "." | sed -r 's/^[0-9]+\ //'`
|
||||||
echo "vcore${nGpusCounter}.info Vcore information for $gpuName"
|
echo "vcore${nGpusCounter}.info Vcore information for $gpuName"
|
||||||
echo "vcore${nGpusCounter}.label Core voltage ($gpuName)"
|
echo "vcore${nGpusCounter}.label Core voltage ($gpuName)"
|
||||||
: $(( nGpusCounter = $nGpusCounter + 1 ))
|
: $(( nGpusCounter = $nGpusCounter + 1 ))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue