1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 10:39:53 +00:00

Add wasted memory to the graph, now the sum is always the total assigned memory

This commit is contained in:
Mikel Olasagasti Uranga 2015-03-26 19:03:11 +01:00
parent ccf8e71d30
commit ec4951b732
2 changed files with 5 additions and 1 deletions

View file

@ -9,6 +9,7 @@ if (function_exists('opcache_get_status'))
$output = array(
'mem_used.value' => $data['memory_usage']['used_memory'],
'mem_free.value' => $data['memory_usage']['free_memory'],
'mem_wasted.value' => $data['memory_usage']['wasted_memory'],
);
}
else