ps (process status) vs ts (thread status)

Matthew Dillon dillon at apollo.backplane.com
Mon Sep 15 19:38:55 PDT 2003


:item of interest. On multiprocessors, there are
:as many separate thread queues as processors.  
:
:Is this observation going to remain true
:as development proceeds?

    Yes.  It is a core concept that we intend the entire system depends on.

: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.
:
:eric

    Yes, I've noticed that too :-)

    Someone just needs to go in and fix the sysctl to scan all the cpus
    instead of just the current one.  I don't think we need a separate
    program to do it.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Kernel mailing list