diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/memory.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugin/memory.php b/plugin/memory.php index 48a3048..71e395c 100644 --- a/plugin/memory.php +++ b/plugin/memory.php | |||
@@ -14,17 +14,19 @@ require_once 'inc/collectd.inc.php'; | |||
14 | # memory/memory-used.rrd | 14 | # memory/memory-used.rrd |
15 | 15 | ||
16 | $obj = new Type_GenericStacked($CONFIG); | 16 | $obj = new Type_GenericStacked($CONFIG); |
17 | $obj->order = array('free', 'buffered', 'cached', 'used'); | 17 | $obj->order = array('free', 'buffered', 'cached', 'locked', 'used'); |
18 | $obj->ds_names = array( | 18 | $obj->ds_names = array( |
19 | 'free' => 'Free ', | 19 | 'free' => 'Free ', |
20 | 'cached' => 'Cached ', | 20 | 'cached' => 'Cached ', |
21 | 'buffered' => 'Buffered', | 21 | 'buffered' => 'Buffered', |
22 | 'used' => 'Used ', | 22 | 'locked' => 'Locked ', |
23 | 'used' => 'Used ', | ||
23 | ); | 24 | ); |
24 | $obj->colors = array( | 25 | $obj->colors = array( |
25 | 'free' => '00e000', | 26 | 'free' => '00e000', |
26 | 'cached' => '0000ff', | 27 | 'cached' => '0000ff', |
27 | 'buffered' => 'ffb000', | 28 | 'buffered' => 'ffb000', |
29 | 'locked' => 'ff00ff', | ||
28 | 'used' => 'ff0000', | 30 | 'used' => 'ff0000', |
29 | ); | 31 | ); |
30 | $obj->width = $width; | 32 | $obj->width = $width; |