1 -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
2 -- Licensed to the public under the Apache License 2.0.
4 module("luci.statistics.rrdtool.definitions.memory",package.seeall)
7 return luci.i18n.translate("Memory")
10 function rrdargs( graph, plugin, plugin_instance, dtype )
14 title = "%H: Memory usage",
16 number_format = "%5.1lf%s",
18 alt_autoscale_max = true,
51 title = "%H: Memory usage",
53 number_format = "%5.1lf%%",
55 alt_autoscale_max = true,
86 local types = graph.tree:data_types( plugin, plugin_instance )
88 for _, t in ipairs(types) do
89 if t == "percent" then