diff options
Diffstat (limited to 'usr.bin/top')
-rw-r--r-- | usr.bin/top/machine.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index fb1823e..92c82fa 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -603,7 +603,8 @@ get_process_info(struct system_info *si, struct process_select *sel, continue; if (displaymode == DISP_CPU && !show_idle && - (pp->ki_pctcpu == 0 || pp->ki_stat != SRUN)) + (pp->ki_pctcpu == 0 || + pp->ki_stat == SSTOP || pp->ki_stat == SIDL)) /* skip idle or non-running processes */ continue; |