summaryrefslogtreecommitdiff
path: root/top.c
diff options
context:
space:
mode:
authoralbert <>2004-11-30 16:11:24 +0000
committeralbert <>2004-11-30 16:11:24 +0000
commit54ecbe0a8a85f2e2707165f04a98c3ca27ee0141 (patch)
treeb683877c3ffcc09efbda8cb6eef0bce184f2ed61 /top.c
parentc961f2604a1bbf76f7693f18c87860dabb68f07c (diff)
downloadprocps-ng-54ecbe0a8a85f2e2707165f04a98c3ca27ee0141.tar.gz
consider "T" state as idle -- thanks Eric Laroche
Diffstat (limited to 'top.c')
-rw-r--r--top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/top.c b/top.c
index 25ee2f4..e4ae6b5 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]);