Make top display thread IDs

Andrew Brampton brampton+freebsd-hackers at gmail.com
Wed Oct 7 18:14:33 UTC 2009


2009/10/7 Ryan Stone <rysto32 at gmail.com>:
> If a thread has a name, top -H will display it in parentheses after
> the executable name.  One option would be to print the tid there if
> the thread has no name.
>

Thanks for your suggestion. I would like the TID always to be
displayed, so displaying it when there is no name wouldn't work for
me. If you haven't looked at the patch I placed the TID directly after
the PID column (when displaying threads in -H mode).

thanks
Andrew


More information about the freebsd-hackers mailing list