diff options
author | Pim van den Berg | 2014-05-01 20:58:43 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-05-01 20:58:43 +0200 |
commit | 0cea50041c7a16ce44d61a9c62028a7bb73bdcb1 (patch) | |
tree | f5f6507643bfabfac653b102ffccf4fbeca2a32c /plugin | |
parent | plugin/memory: add support for osx/bsd (diff) | |
download | apt-panopticon_cgp-0cea50041c7a16ce44d61a9c62028a7bb73bdcb1.zip apt-panopticon_cgp-0cea50041c7a16ce44d61a9c62028a7bb73bdcb1.tar.gz apt-panopticon_cgp-0cea50041c7a16ce44d61a9c62028a7bb73bdcb1.tar.bz2 apt-panopticon_cgp-0cea50041c7a16ce44d61a9c62028a7bb73bdcb1.tar.xz |
plugin/memory: add osx/bsd ds_names to order, set color of active to ff00ff
Closes: https://github.com/pommi/CGP/issues/67
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/memory.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/memory.php b/plugin/memory.php index 83f2b42..3c9a745 100644 --- a/plugin/memory.php +++ b/plugin/memory.php | |||
@@ -14,7 +14,7 @@ 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', 'locked', 'used'); | 17 | $obj->order = array('free', 'inactive', 'buffered', 'cached', 'cache', 'locked', 'used', 'active', 'wired'); |
18 | $obj->ds_names = array( | 18 | $obj->ds_names = array( |
19 | 'free' => 'Free', | 19 | 'free' => 'Free', |
20 | 'inactive' => 'Inactive', | 20 | 'inactive' => 'Inactive', |
@@ -34,7 +34,7 @@ $obj->colors = array( | |||
34 | 'buffered' => 'ffb000', | 34 | 'buffered' => 'ffb000', |
35 | 'locked' => 'ff00ff', | 35 | 'locked' => 'ff00ff', |
36 | 'used' => 'ff0000', | 36 | 'used' => 'ff0000', |
37 | 'active' => 'ff4300', | 37 | 'active' => 'ff00ff', |
38 | 'wired' => 'ff0000', | 38 | 'wired' => 'ff0000', |
39 | ); | 39 | ); |
40 | 40 | ||