diff options
Diffstat (limited to 'plugin/swap.php')
| -rw-r--r-- | plugin/swap.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/swap.php b/plugin/swap.php index c24d90b..dee5692 100644 --- a/plugin/swap.php +++ b/plugin/swap.php | |||
| @@ -27,7 +27,8 @@ 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 = 'Bytes'; | 30 | $obj->rrd_vertical = ucfirst($CONFIG['datasize']); |
| 31 | $obj->scale = $CONFIG['datasize'] == 'bits' ? 8 : 1; | ||
| 31 | break; | 32 | break; |
| 32 | case 'swap_io': | 33 | case 'swap_io': |
| 33 | require_once 'type/GenericIO.class.php'; | 34 | require_once 'type/GenericIO.class.php'; |
