aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/swap.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/swap.php')
-rw-r--r--plugin/swap.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/swap.php b/plugin/swap.php
index dee5692..c24d90b 100644
--- a/plugin/swap.php
+++ b/plugin/swap.php
@@ -27,8 +27,7 @@ switch(GET('t')) {
27 'used' => 'ff0000', 27 'used' => 'ff0000',
28 ); 28 );
29 $obj->rrd_title = 'Swap utilization'; 29 $obj->rrd_title = 'Swap utilization';
30 $obj->rrd_vertical = ucfirst($CONFIG['datasize']); 30 $obj->rrd_vertical = 'Bytes';
31 $obj->scale = $CONFIG['datasize'] == 'bits' ? 8 : 1;
32 break; 31 break;
33 case 'swap_io': 32 case 'swap_io':
34 require_once 'type/GenericIO.class.php'; 33 require_once 'type/GenericIO.class.php';