mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 22:25:23 +00:00
erratum
This commit is contained in:
parent
9ae7e3a9f7
commit
09f96c3da0
1 changed files with 0 additions and 6 deletions
|
@ -6,8 +6,6 @@ if [ "$1" = "config" ]; then
|
|||
echo "used.label Used"
|
||||
echo "total.label Total"
|
||||
echo "free.label Free"
|
||||
echo "swap.label Swap used"
|
||||
echo "swapt.label Swap total"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -30,13 +28,9 @@ function spliter(v, i) {
|
|||
used = scale(spliter($3,2));
|
||||
free = scale($6);
|
||||
total = used + free;
|
||||
swap = scale(spliter($8,1));
|
||||
swapt = scale(spliter($8,2));
|
||||
|
||||
print "acti.value", acti
|
||||
print "used.value", used
|
||||
print "total.value", total
|
||||
print "free.value", free
|
||||
print "swap.value", swap
|
||||
print "swapt.value", swapt
|
||||
}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue