summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2013-12-18 02:58:34 +0000
committerHisham Muhammad <hisham@gobolinux.org>2013-12-18 02:58:34 +0000
commit8ace29c267bad42bc898152541f7732834b291c2 (patch)
tree342b1e4fb1cb08e5d6838953147be2b180383ae3 /htop.c
parentaf285d1d3bb182c3f09c70110f4305cb19437245 (diff)
Make CPU meter optionally account guest time in its percentages
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/htop.c b/htop.c
index de9df527..7471dcd4 100644
--- a/htop.c
+++ b/htop.c
@@ -86,9 +86,9 @@ static void showHelp(ProcessList* pl) {
addattrstr(CRT_colors[CPU_KERNEL], "kernel"); addstr("/");
addattrstr(CRT_colors[CPU_IRQ], "irq"); addstr("/");
addattrstr(CRT_colors[CPU_SOFTIRQ], "soft-irq"); addstr("/");
- addattrstr(CRT_colors[CPU_IOWAIT], "io-wait"); addstr("/");
addattrstr(CRT_colors[CPU_STEAL], "steal"); addstr("/");
- addattrstr(CRT_colors[CPU_GUEST], "guest");
+ addattrstr(CRT_colors[CPU_GUEST], "guest"); addstr("/");
+ addattrstr(CRT_colors[CPU_IOWAIT], "io-wait");
addattrstr(CRT_colors[BAR_SHADOW], " used%");
} else {
addattrstr(CRT_colors[CPU_NICE], "low-priority"); addstr("/");

© 2014-2024 Faster IT GmbH | imprint | privacy policy