aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorPim van den Berg2011-04-05 19:44:30 +0200
committerPim van den Berg2011-04-05 19:44:30 +0200
commit0fe9741f4802239427f43865dba65a4647fcd577 (patch)
tree18ab9775a8c0e261fb8745dc93ceffa90b6f3e1d /plugin
parenttype/GenericIO: add total calculations in IO graphs (diff)
downloadapt-panopticon_cgp-0fe9741f4802239427f43865dba65a4647fcd577.zip
apt-panopticon_cgp-0fe9741f4802239427f43865dba65a4647fcd577.tar.gz
apt-panopticon_cgp-0fe9741f4802239427f43865dba65a4647fcd577.tar.bz2
apt-panopticon_cgp-0fe9741f4802239427f43865dba65a4647fcd577.tar.xz
plugin/disk: SI magnitude units in legend for disk_merged and disk_ops
Diffstat (limited to '')
-rw-r--r--plugin/disk.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/disk.php b/plugin/disk.php
index 9837041..e3a5f3d 100644
--- a/plugin/disk.php
+++ b/plugin/disk.php
@@ -29,7 +29,7 @@ switch($obj->args['type']) {
29 case 'disk_merged': 29 case 'disk_merged':
30 $obj->rrd_title = sprintf('Disk Merged Operations (%s)', $obj->args['pinstance']); 30 $obj->rrd_title = sprintf('Disk Merged Operations (%s)', $obj->args['pinstance']);
31 $obj->rrd_vertical = 'Merged operations/s'; 31 $obj->rrd_vertical = 'Merged operations/s';
32 $obj->rrd_format = '%5.1lf'; 32 $obj->rrd_format = '%5.1lf%s';
33 break; 33 break;
34 case 'disk_octets': 34 case 'disk_octets':
35 $obj->rrd_title = sprintf('Disk Traffic (%s)', $obj->args['pinstance']); 35 $obj->rrd_title = sprintf('Disk Traffic (%s)', $obj->args['pinstance']);
@@ -39,7 +39,7 @@ switch($obj->args['type']) {
39 case 'disk_ops': 39 case 'disk_ops':
40 $obj->rrd_title = sprintf('Disk Operations (%s)', $obj->args['pinstance']); 40 $obj->rrd_title = sprintf('Disk Operations (%s)', $obj->args['pinstance']);
41 $obj->rrd_vertical = 'Ops per second'; 41 $obj->rrd_vertical = 'Ops per second';
42 $obj->rrd_format = '%5.1lf'; 42 $obj->rrd_format = '%5.1lf%s';
43 break; 43 break;
44 case 'disk_time': 44 case 'disk_time':
45 $obj->rrd_title = sprintf('Disk time per operation (%s)', $obj->args['pinstance']); 45 $obj->rrd_title = sprintf('Disk time per operation (%s)', $obj->args['pinstance']);