Edwin Groothuis wrote:
Oh yes, I forgot about that:

The old top(1) and new top(1) counts the processes different:

- "ps xauw | wc" gives 265
- "ps xauwH | wc" gives 295 (expand threads)

But what about running processes?
I have quad core processor with the summary lines:
new top: 127 processes: 5 running, 104 sleeping, 18 waiting
old top: 90 processes:  1 running, 89 sleeping

Let's see what process is running:
% ps axuwH | awk '{if(index($8,"R")) print}'
root 12 100.0 0.0 0 8 ?? RL 14Sep08 20648:50.71 [idle: cpu2] root 13 100.0 0.0 0 8 ?? RL 14Sep08 20647:09.32 [idle: cpu1] root 14 100.0 0.0 0 8 ?? RL 14Sep08 20640:25.87 [idle: cpu0] root 11 86.1 0.0 0 8 ?? RL 14Sep08 20650:27.95 [idle: cpu3]
sem      71228  0.0  0.0  3204   996  p7  R+    1:59AM   0:00.00 ps axuwH

Is it correct idle cpu pseudo processes are counted?

Anyway new top looks much better. Thanks, Edwin!

PS. 7.1-PRERELEASE from May 10.

--
Dixi.
Sem.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to