mirror of https://github.com/xzeldon/htop.git
Process: highlight UNINTERRUPTIBLE_WAIT state (D)
Commitd8dfbbd3
("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")
This commit is contained in:
parent
61c9fe44a3
commit
a38f48481e
|
@ -916,13 +916,13 @@ void Process_writeField(const Process* this, RichString* str, ProcessField field
|
||||||
case BLOCKED:
|
case BLOCKED:
|
||||||
case DEFUNCT:
|
case DEFUNCT:
|
||||||
case STOPPED:
|
case STOPPED:
|
||||||
|
case UNINTERRUPTIBLE_WAIT:
|
||||||
case ZOMBIE:
|
case ZOMBIE:
|
||||||
attr = CRT_colors[PROCESS_D_STATE];
|
attr = CRT_colors[PROCESS_D_STATE];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case QUEUED:
|
case QUEUED:
|
||||||
case WAITING:
|
case WAITING:
|
||||||
case UNINTERRUPTIBLE_WAIT:
|
|
||||||
case IDLE:
|
case IDLE:
|
||||||
case SLEEPING:
|
case SLEEPING:
|
||||||
attr = CRT_colors[PROCESS_SHADOW];
|
attr = CRT_colors[PROCESS_SHADOW];
|
||||||
|
|
Loading…
Reference in New Issue