2008-05-25 17:53:04 +00:00
|
|
|
module("luci.statistics.rrdtool.definitions.cpu.cpu",package.seeall)
|
2008-05-25 02:37:39 +00:00
|
|
|
|
|
|
|
function rrdargs( graph, host, plugin, plugin_instance, dtype )
|
|
|
|
|
2008-05-28 17:51:15 +00:00
|
|
|
return {
|
|
|
|
title = "Prozessorauslastung",
|
|
|
|
vlabel = "%",
|
2008-05-25 02:37:39 +00:00
|
|
|
|
2008-05-28 17:51:15 +00:00
|
|
|
data = {
|
|
|
|
instances = {
|
|
|
|
cpu = { "idle", "nice", "system", "user" }
|
|
|
|
},
|
2008-05-25 02:37:39 +00:00
|
|
|
|
2008-05-28 17:51:15 +00:00
|
|
|
options = {
|
|
|
|
cpu_idle = { color = "ffffff" },
|
|
|
|
cpu_nice = { color = "00e000" },
|
|
|
|
cpu_user = { color = "0000ff" },
|
|
|
|
cpu_wait = { color = "ffb000" },
|
|
|
|
cpu_system = { color = "ff0000" },
|
|
|
|
cpu_softirq = { color = "ff00ff" },
|
|
|
|
cpu_interrupt = { color = "a000a0" },
|
|
|
|
cpu_steal = { color = "000000" }
|
|
|
|
}
|
2008-05-25 02:37:39 +00:00
|
|
|
}
|
2008-05-28 17:51:15 +00:00
|
|
|
}
|
2008-05-25 02:37:39 +00:00
|
|
|
end
|