summaryrefslogtreecommitdiffstats
path: root/Process.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-12-04 18:12:36 +0100
committerBenBE <BenBE@geshi.org>2021-12-05 19:29:10 +0100
commita38f48481edeb696b2973c8a1bb2107658108a41 (patch)
treea5e01250ec5adf152d95c3afe1b15984d90f1361 /Process.c
parent61c9fe44a3c31aaab14ec01c568ecf2f081e1bdf (diff)
Process: highlight UNINTERRUPTIBLE_WAIT state (D)
Commit d8dfbbd3 ("Tidy up process state handling") did change the highlighting of the UNINTERRUPTIBLE_WAIT state (D) from red to gray. As this state might means the process probably still has work to do and can hint at bottlenecks, revert this particular change. Fixes: d8dfbbd3 ("Tidy up process state handling")
Diffstat (limited to 'Process.c')
-rw-r--r--Process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Process.c b/Process.c
index 6be36b72..cef5af33 100644
--- a/Process.c
+++ b/Process.c
@@ -916,13 +916,13 @@ void Process_writeField(const Process* this, RichString* str, ProcessField field
case BLOCKED:
case DEFUNCT:
case STOPPED:
+ case UNINTERRUPTIBLE_WAIT:
case ZOMBIE:
attr = CRT_colors[PROCESS_D_STATE];
break;
case QUEUED:
case WAITING:
- case UNINTERRUPTIBLE_WAIT:
case IDLE:
case SLEEPING:
attr = CRT_colors[PROCESS_SHADOW];

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