From 54ecbe0a8a85f2e2707165f04a98c3ca27ee0141 Mon Sep 17 00:00:00 2001 From: albert <> Date: Tue, 30 Nov 2004 16:11:24 +0000 Subject: [PATCH] consider "T" state as idle -- thanks Eric Laroche --- top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/top.c b/top.c index 25ee2f45..e4ae6b59 100644 --- a/top.c +++ b/top.c @@ -3071,7 +3071,7 @@ static void window_show (proc_t **ppt, WIN_t *q, int *lscr) i = 0; while ( ppt[i]->tid != -1 && *lscr < Max_lines && (!q->winlines || (lwin <= q->winlines)) ) { - if ((CHKw(q, Show_IDLEPS) || ('S' != ppt[i]->state && 'Z' != ppt[i]->state)) + if ((CHKw(q, Show_IDLEPS) || ('S' != ppt[i]->state && 'Z' != ppt[i]->state && 'T' != ppt[i]->state)) && good_uid(ppt[i]) ) { // Display a process Row task_show(q, ppt[i]);