test
This commit is contained in:
parent
77f6359621
commit
068ef07535
1 changed files with 2 additions and 1 deletions
|
@ -294,6 +294,8 @@ function get_memory_label {
|
|||
done <<< "$data"
|
||||
}
|
||||
function get_memory_value {
|
||||
get_mem_total
|
||||
get_mem_free
|
||||
if [ "$MUNIN_CAP_DIRTYCONFIG" = "0" ] || [ -z "$MUNIN_CAP_DIRTYCONFIG" ]; then
|
||||
echo multigraph memory_$name
|
||||
fi
|
||||
|
@ -311,7 +313,6 @@ function get_memory_value {
|
|||
done <<< "$data"
|
||||
# berechne used-memory
|
||||
# gesamt + frei = benutzt
|
||||
|
||||
echo used_memory.value $(echo $mem_total-$mem_free| bc)
|
||||
# prufe noch ob war gesetzt
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue