1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00: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[@]}" for i in "${memory_array[@]}"
do do
sum=$(( $sum + $i )) sum=$(( $sum + ( $i * 1024) ))
done done
echo -n "ram.value " echo -n "ram.value "
echo $sum echo $sum