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>
(cherry picked from commit f4dd8b6413
)
This commit is contained in:
parent
285c5899ce
commit
2e5b2abe97
1 changed files with 12 additions and 12 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue