DragonFly BSD
DragonFly kernel List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ps (process status) vs ts (thread status)

To: EJHaug <ejh@xxxxxxxxxxx>
From: Julian Elischer <julian@xxxxxxxxxxxx>
Date: Thu, 18 Sep 2003 14:21:14 -0700

EJHaug wrote:
Hi all,
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.


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]