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",
11 alt_autoscale_max = true,
13 number_format = "%5.1lf%%",
16 cpu = { "user", "nice", "system", "softirq", "interrupt" }
20 cpu_idle = { color = "ffffff", title = "Idle" },
21 cpu_nice = { color = "00e000", title = "Nice" },
22 cpu_user = { color = "0000ff", title = "User" },
23 cpu_wait = { color = "ffb000", title = "Wait" },
24 cpu_system = { color = "ff0000", title = "System" },
25 cpu_softirq = { color = "ff00ff", title = "Softirq" },
26 cpu_interrupt = { color = "a000a0", title = "Interrupt" },
27 cpu_steal = { color = "000000", title = "Steal" }