From 77ca9bf147855eabe73820c6a7e4c6451a238e5a Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Mon, 28 Apr 2014 20:25:54 +0200 Subject: plugin/memory: add support for osx/bsd Closes: https://github.com/pommi/CGP/issues/67 --- plugin/memory.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugin/memory.php b/plugin/memory.php index ce973db..83f2b42 100644 --- a/plugin/memory.php +++ b/plugin/memory.php @@ -17,17 +17,25 @@ $obj = new Type_GenericStacked($CONFIG); $obj->order = array('free', 'buffered', 'cached', 'locked', 'used'); $obj->ds_names = array( 'free' => 'Free', + 'inactive' => 'Inactive', 'cached' => 'Cached', + 'cache' => 'Cache', 'buffered' => 'Buffered', 'locked' => 'Locked', 'used' => 'Used', + 'active' => 'Active', + 'wired' => 'Wired', ); $obj->colors = array( 'free' => '00e000', + 'inactive' => '00b000', 'cached' => '0000ff', + 'cache' => '0000ff', 'buffered' => 'ffb000', 'locked' => 'ff00ff', 'used' => 'ff0000', + 'active' => 'ff4300', + 'wired' => 'ff0000', ); $obj->rrd_title = 'Physical memory utilization'; -- cgit v1.1