From f4dd8b6413cfd8f2f9093993b6ef396ca3dcef01 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sat, 4 Dec 2021 21:18:39 +0200 Subject: 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 --- .../statistics/rrdtool/definitions/cpu.js | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'applications/luci-app-statistics/htdocs/luci-static') 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" } } } -- cgit v1.2.3