Threads in top

Terry Lambert tlambert2 at mindspring.com
Wed Jul 16 22:50:46 PDT 2003


Kai Mosebach wrote:
> is it somehow possible to hide the threads in top / only see the master
> process ?

The ps program does this by not showing threads unless invoked
with the "-H" option.  Probably someone who wants to hide the
threads in top (hint hint) should do what ps does in order to
make top act the same way (Darwin uses "-M" instead of "-H",
but FreeBSD uses this for system dump image files).

FWIW, the implementation detail is that everything is returned,
and the filtering occurs on display.

-- Terry


More information about the freebsd-threads mailing list