DragonFly kernel List (threaded) for 2003-09
Re: ps (process status) vs ts (thread status)
In wandering through the DragonFly kernel
and looking at the ps and libkvm code.
It appears that Matt has made threads the
item of interest. On multiprocessors, there are
as many separate thread queues as processors.
in FreeBSD 5.x ps -H shows threads
also "top" has an H option to toggle showing threads.
Is this observation going to remain true
as development proceeds?
If that is so, then a tool to report threads
would be more useful than the process status tool.
(the process status tool is incorrect in that processor 0 thread
activity is reported some time and processor 1 thread activity
is reported other times.)
The entries for processes appear to be correct
in both outputs.