mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Fixed total memory being in the wrong scale
This commit is contained in:
parent
9dfe0f34ca
commit
6274c3af80
@ -25,7 +25,7 @@ if [ "$mode" = "memory" ]; then
|
||||
|
||||
for i in "${memory_array[@]}"
|
||||
do
|
||||
sum=$(( $sum + $i ))
|
||||
sum=$(( $sum + ( $i * 1024) ))
|
||||
done
|
||||
echo -n "ram.value "
|
||||
echo $sum
|
||||
|
Loading…
Reference in New Issue
Block a user