aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorPim van den Berg2010-09-14 20:36:24 +0200
committerPim van den Berg2010-09-14 20:38:50 +0200
commitd7a0e0c8c97969c97e71b2fe31df0712df383d6c (patch)
treee47069a2f25dc1931857017b1b18a3306c2b662f /plugin
parentplugin/memcached: better alignment of graph legend (diff)
downloadapt-panopticon_cgp-d7a0e0c8c97969c97e71b2fe31df0712df383d6c.zip
apt-panopticon_cgp-d7a0e0c8c97969c97e71b2fe31df0712df383d6c.tar.gz
apt-panopticon_cgp-d7a0e0c8c97969c97e71b2fe31df0712df383d6c.tar.bz2
apt-panopticon_cgp-d7a0e0c8c97969c97e71b2fe31df0712df383d6c.tar.xz
plugin/swap: better alignment of graph legend
Diffstat (limited to 'plugin')
-rw-r--r--plugin/swap.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugin/swap.php b/plugin/swap.php
index e1fa3f6..a8d06d4 100644
--- a/plugin/swap.php
+++ b/plugin/swap.php
@@ -17,14 +17,14 @@ switch($_GET['t']) {
17 $obj = new Type_GenericStacked($CONFIG); 17 $obj = new Type_GenericStacked($CONFIG);
18 $obj->order = array('free', 'cached', 'used'); 18 $obj->order = array('free', 'cached', 'used');
19 $obj->ds_names = array( 19 $obj->ds_names = array(
20 'free' => 'Free ', 20 'free' => 'Free ',
21 'cached' => 'Cached ', 21 'cached' => 'Cached',
22 'used' => 'Used ', 22 'used' => 'Used ',
23 ); 23 );
24 $obj->colors = array( 24 $obj->colors = array(
25 'free' => '00e000', 25 'free' => '00e000',
26 'cached' => '0000ff', 26 'cached' => '0000ff',
27 'used' => 'ff0000', 27 'used' => 'ff0000',
28 ); 28 );
29 $obj->rrd_title = 'Swap utilization'; 29 $obj->rrd_title = 'Swap utilization';
30 $obj->rrd_vertical = 'Bytes'; 30 $obj->rrd_vertical = 'Bytes';
@@ -35,11 +35,11 @@ switch($_GET['t']) {
35 $obj->order = array('out', 'in'); 35 $obj->order = array('out', 'in');
36 $obj->ds_names = array( 36 $obj->ds_names = array(
37 'out' => 'Out', 37 'out' => 'Out',
38 'in' => 'In ', 38 'in' => 'In ',
39 ); 39 );
40 $obj->colors = array( 40 $obj->colors = array(
41 'out' => '0000ff', 41 'out' => '0000ff',
42 'in' => '00b000', 42 'in' => '00b000',
43 ); 43 );
44 $obj->rrd_title = 'Swapped I/O pages'; 44 $obj->rrd_title = 'Swapped I/O pages';
45 $obj->rrd_vertical = 'Pages'; 45 $obj->rrd_vertical = 'Pages';