Stefan Eßer d1b76f3f6e Fix display of idle processes, which had been broken since rev. 1.56 of
machine.c. The traditional condition was (pctcpu > 0 || SRUN), but the
negation of the condition logic (from select to skip) made this come
out as (pctcpu > 0 && SRUN), leading to a very erratic display, except
for purely CPU bound processes.

This has been discussed in the mail lists some time ago and I have used
top with this patch on my systems for more than a year without problems
(just forgot to commit it earlier, since my systems were all fixed ...).
2006-06-11 19:18:39 +00:00
..
2005-01-18 13:43:56 +00:00
2005-01-25 22:24:04 +00:00
2005-11-18 12:08:31 +00:00
2005-01-25 22:32:48 +00:00
2005-11-18 10:36:29 +00:00
2005-02-13 22:25:33 +00:00
2005-01-25 22:32:48 +00:00
2005-11-18 10:36:29 +00:00
2005-01-25 22:32:48 +00:00
2005-01-18 13:43:56 +00:00
2006-04-22 03:04:24 +00:00
2005-02-13 22:25:33 +00:00
2005-12-29 04:23:54 +00:00
2005-02-09 18:07:17 +00:00
2006-05-15 08:20:38 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 13:43:56 +00:00
2004-07-03 00:24:45 +00:00
2005-02-13 22:25:33 +00:00
2006-06-11 17:40:25 +00:00
2005-02-13 22:25:33 +00:00
2006-04-13 12:49:24 +00:00
2005-01-25 14:22:20 +00:00
2005-01-24 20:06:16 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 17:45:38 +00:00
2005-11-18 10:36:29 +00:00
2005-02-07 08:44:34 +00:00
2005-04-09 14:31:41 +00:00
2005-01-18 13:43:56 +00:00
2005-11-18 10:36:29 +00:00
2005-11-13 21:03:56 +00:00
2004-07-03 00:24:45 +00:00
2005-01-18 13:43:56 +00:00
2005-11-18 10:36:29 +00:00
2005-06-14 11:50:53 +00:00
2006-05-25 06:05:04 +00:00
2005-03-11 14:17:12 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-04-09 14:31:41 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 13:43:56 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 13:43:56 +00:00
2005-02-13 22:25:33 +00:00
2006-05-11 17:25:36 +00:00
2005-02-26 04:14:20 +00:00
2005-06-14 11:50:53 +00:00
2005-04-09 14:31:41 +00:00
2005-02-10 16:04:22 +00:00
2006-01-23 13:49:39 +00:00
2005-08-25 14:09:35 +00:00
2005-01-18 13:43:56 +00:00