aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/memory.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/memory.php')
-rw-r--r--plugin/memory.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/memory.php b/plugin/memory.php
index 14779e2..afccc55 100644
--- a/plugin/memory.php
+++ b/plugin/memory.php
@@ -33,7 +33,8 @@ $obj->width = $width;
33$obj->heigth = $heigth; 33$obj->heigth = $heigth;
34 34
35$obj->rrd_title = 'Physical memory utilization'; 35$obj->rrd_title = 'Physical memory utilization';
36$obj->rrd_vertical = 'Bytes'; 36$obj->rrd_vertical = ucfirst($CONFIG['datasize']);
37$obj->scale = $CONFIG['datasize'] == 'bits' ? 8 : 1;
37$obj->rrd_format = '%5.1lf%s'; 38$obj->rrd_format = '%5.1lf%s';
38 39
39collectd_flush($obj->identifiers); 40collectd_flush($obj->identifiers);