aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/swap.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/swap.php')
-rw-r--r--plugin/swap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/swap.php b/plugin/swap.php
index 863c600..983d38d 100644
--- a/plugin/swap.php
+++ b/plugin/swap.php
@@ -14,7 +14,7 @@ require_once 'inc/collectd.inc.php';
14switch(GET('t')) { 14switch(GET('t')) {
15 case 'swap': 15 case 'swap':
16 require_once 'type/GenericStacked.class.php'; 16 require_once 'type/GenericStacked.class.php';
17 $obj = new Type_GenericStacked($CONFIG); 17 $obj = new Type_GenericStacked($CONFIG, $_GET);
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',
@@ -31,7 +31,7 @@ switch(GET('t')) {
31 break; 31 break;
32 case 'swap_io': 32 case 'swap_io':
33 require_once 'type/GenericIO.class.php'; 33 require_once 'type/GenericIO.class.php';
34 $obj = new Type_GenericIO($CONFIG); 34 $obj = new Type_GenericIO($CONFIG, $_GET);
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',