1 -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
2 -- Licensed to the public under the Apache License 2.0.
4 module("luci.statistics.rrdtool.definitions.cpu",package.seeall)
6 function rrdargs( graph, plugin, plugin_instance, dtype )
9 title = "%H: Processor usage on core #%pi",
12 number_format = "%5.1lf%%",
15 cpu = { "idle", "user", "system", "nice" }
19 cpu_idle = { color = "ffffff" },
20 cpu_nice = { color = "00e000" },
21 cpu_user = { color = "0000ff" },
22 cpu_wait = { color = "ffb000" },
23 cpu_system = { color = "ff0000" },
24 cpu_softirq = { color = "ff00ff" },
25 cpu_interrupt = { color = "a000a0" },
26 cpu_steal = { color = "000000" }