diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2015-08-28 22:58:16 +0300 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2015-08-28 22:58:16 +0300 |
commit | 5ce647746e584bc10ce5238126bd6ec933fcf609 (patch) | |
tree | 9c57cc3f2a381dc42aa065db399bcd22ef9e7697 | |
parent | 01414949359d2725d23c98a00144a64e1f920a4c (diff) |
statistics: clarify CPU/processor graph by removing "idle" from it
Clarify the CPU time consumption graph by removing the "idle" data from it.
Especially with light traffic, removing "idle" enables the graph
to scale better and to properly show the CPU load variations.
If "idle" data needs to be seen, it might be added as a second graph below.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
-rw-r--r-- | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua index bee2ed4d6..ae0c0ce77 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua @@ -8,11 +8,12 @@ function rrdargs( graph, plugin, plugin_instance, dtype ) return { title = "%H: Processor usage on core #%pi", y_min = "0", + alt_autoscale_max = true, vlabel = "Percent", number_format = "%5.1lf%%", data = { instances = { - cpu = { "idle", "user", "nice", "system", "softirq", "interrupt" } + cpu = { "user", "nice", "system", "softirq", "interrupt" } }, options = { |