mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Fixed total memory being in the wrong scale
This commit is contained in:
parent
9dfe0f34ca
commit
6274c3af80
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue