2
0
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:
Gareth Davies 2013-05-29 06:21:11 +08:00
parent 9dfe0f34ca
commit 6274c3af80

View File

@ -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