Should ps -p list threads?

Daniel Eischen eischen at vigrid.com
Thu Feb 12 08:16:59 PST 2004


On Thu, 12 Feb 2004, David Xu wrote:

> Daniel Eischen wrote:
> 
> >On Wed, 11 Feb 2004, Craig Rodrigues wrote:
> >>
> >>Should there be a way for ps to be able to display
> >>threads for a specific pid?
> >>    
> >>
> >
> >Yes, I think so, but ps with no options should not list threads
> >by default.  It should take an option to _enable_ listing
> >threads (KSE's really).
> >  
> >
> I think it is already there, type:
> ps -H

But 'ps' without -H seems to display KSEs where it shouldn't.

-- 
Dan Eischen



More information about the freebsd-threads mailing list