summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/htdocs/luci-static
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2021-12-04 21:18:39 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2021-12-04 21:18:39 +0200
commitf4dd8b6413cfd8f2f9093993b6ef396ca3dcef01 (patch)
tree618dd2317225802d3edec98f2a5d049772a26799 /applications/luci-app-statistics/htdocs/luci-static
parent54de8568f043d86d577fc96ad942a46b610aca61 (diff)
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 <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static')
-rw-r--r--applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/cpu.js24
1 files changed, 12 insertions, 12 deletions
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"
}
}
}