diff --git a/plugins/gpu/nvidia_gpu_ b/plugins/gpu/nvidia_gpu_ index 453c50fa..ad6605e6 100755 --- a/plugins/gpu/nvidia_gpu_ +++ b/plugins/gpu/nvidia_gpu_ @@ -180,7 +180,7 @@ case $name in totalMemGpu=`echo "$totalMemGpus" | sed -n $(( $nGpusCounter + 1 ))p` usedMemGpu=`echo "$usedMemGpus" | sed -n $(( $nGpusCounter + 1 ))p` percentMemUsed=$(( $usedMemGpu * 100 / $totalMemGpu )) - valueGpus="${valueGpus}${percentMemUsed}" + valueGpus="${valueGpus}${percentMemUsed}"$'\n' : $(( nGpusCounter = $nGpusCounter + 1 )) done ;;