summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 930d01e)
raw | patch | inline | side by side (parent: 930d01e)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 28 Sep 2007 10:41:17 +0000 (12:41 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 28 Sep 2007 10:41:17 +0000 (12:41 +0200) |
contrib/collection.cgi | patch | blob | history |
diff --git a/contrib/collection.cgi b/contrib/collection.cgi
index ebd937ef9010798b4b490845136919e632546ade..338b724b647bee07e9d98eb7b2d4bf6feef11bc3 100755 (executable)
--- a/contrib/collection.cgi
+++ b/contrib/collection.cgi
. (defined ($plugin_instance) ? "-$plugin_instance" : '') . "/$type";
$opts->{'number_format'} = '%5.1lf%s';
- $opts->{'rrd_opts'} = ['-b', '1024'];
+ $opts->{'rrd_opts'} = ['-b', '1024', '-v', 'Bytes'];
my @files = ();
$opts->{'colors'} =
{
- 'Free' => '00e000',
- 'Cached' => '0000ff',
- 'Reserved' => 'ffb000',
- 'Used' => 'ff0000'
+ 'Free' => '00e000',
+ 'Cached' => '0000ff',
+ 'Reserved' => 'ffb000',
+ 'Used' => 'ff0000'
};
_custom_sort_arrayref ($type_instances,