From: Hannu Nyman Date: Sat, 4 Dec 2021 19:18:39 +0000 (+0200) Subject: luci-app-statistics: re-order CPU utilization graph classes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f4dd8b6413cfd8f2f9093993b6ef396ca3dcef01;p=project%2Fluci.git luci-app-statistics: re-order CPU utilization graph classes Reorder the CPU utilization classes to be in a more logical order (from hardware toward user) instead of alphabetical order. Signed-off-by: Hannu Nyman --- diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/cpu.js b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/cpu.js index 7d0dc9a15a..796b2cc8d4 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/cpu.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/cpu.js @@ -28,13 +28,13 @@ return baseclass.extend({ instances: { cpu: [ ...(show_idle ? ["idle"] : []), - "interrupt", "nice", - "softirq", - "steal", - "system", "user", - "wait" + "wait", + "system", + "softirq", + "interrupt", + "steal" ] }, options: { @@ -68,7 +68,7 @@ return baseclass.extend({ }, cpu_wait: { color: "ffb000", - title: "Wait" + title: "Wait I/O" } } } @@ -84,13 +84,13 @@ return baseclass.extend({ instances: { percent: [ ...(show_idle ? ["idle"] : []), - "interrupt", "nice", - "softirq", - "steal", - "system", "user", - "wait" + "wait", + "system", + "softirq", + "interrupt", + "steal" ] }, options: { @@ -124,7 +124,7 @@ return baseclass.extend({ }, percent_wait: { color: "ffb000", - title: "Wait" + title: "Wait I/O" } } }