3 Luci statistics - df plugin diagram definition
4 (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 $Id: df.lua 2274 2008-06-03 23:15:16Z jow $
16 module("luci.statistics.rrdtool.definitions.disk", package.seeall)
18 function rrdargs( graph, plugin, plugin_instance, dtype )
21 title = "%H: Disk I/O operations on %pi",
22 vlabel = "Operations/s",
23 number_format = "%5.1lf%sOp/s",
26 types = { "disk_ops" },
28 disk_ops = { "read", "write" },
48 title = "%H: Disk I/O bandwidth on %pi",
50 number_format = "%5.1lf%sB/s",
55 types = { "disk_octets" },
57 disk_octets = { "read", "write" }
65 disk_octets__write = {