aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/cpu.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/cpu.php')
-rw-r--r--plugin/cpu.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/cpu.php b/plugin/cpu.php
index 4c049d6..a0a19fc 100644
--- a/plugin/cpu.php
+++ b/plugin/cpu.php
@@ -46,6 +46,7 @@ $obj->heigth = $heigth;
46$obj->rrd_title = sprintf('CPU-%s usage', $obj->args['pinstance']); 46$obj->rrd_title = sprintf('CPU-%s usage', $obj->args['pinstance']);
47$obj->rrd_vertical = 'Jiffies'; 47$obj->rrd_vertical = 'Jiffies';
48$obj->rrd_format = '%5.2lf'; 48$obj->rrd_format = '%5.2lf';
49$obj->rrdtool_opts .= ' -u 100';
49 50
50collectd_flush($obj->identifiers); 51collectd_flush($obj->identifiers);
51$obj->rrd_graph(); 52$obj->rrd_graph();