From 0cea50041c7a16ce44d61a9c62028a7bb73bdcb1 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Thu, 1 May 2014 20:58:43 +0200 Subject: plugin/memory: add osx/bsd ds_names to order, set color of active to ff00ff Closes: https://github.com/pommi/CGP/issues/67 --- plugin/memory.php | 4 ++-- 1 file 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'; # memory/memory-used.rrd $obj = new Type_GenericStacked($CONFIG); -$obj->order = array('free', 'buffered', 'cached', 'locked', 'used'); +$obj->order = array('free', 'inactive', 'buffered', 'cached', 'cache', 'locked', 'used', 'active', 'wired'); $obj->ds_names = array( 'free' => 'Free', 'inactive' => 'Inactive', @@ -34,7 +34,7 @@ $obj->colors = array( 'buffered' => 'ffb000', 'locked' => 'ff00ff', 'used' => 'ff0000', - 'active' => 'ff4300', + 'active' => 'ff00ff', 'wired' => 'ff0000', ); -- cgit v1.1