3 (c) 2011 Manuel Munz <freifunk at somakoma dot de>
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-2.0
12 module("luci.statistics.rrdtool.definitions.memory",package.seeall)
14 function rrdargs( graph, host, plugin, plugin_instance, dtype )
17 title = "%H: Memory usage",
19 number_format = "%5.1lf%%",
22 memory = { "free", "buffered", "cached", "used" }
26 memory_buffered = { color = "0000ff", title = "Buffered" },
27 memory_cached = { color = "ff00ff", title = "Cached" },
28 memory_used = { color = "ff0000", title = "Used" },
29 memory_free = { color = "00ff00", title = "Free" }