The ps -H option does not display kernel threads, which is mostly a problem in libkvm. It also does not display kernel thread names, even with -c. The attached patches to libkvm/kvm_proc.c and the ps program fix both, and add a more-intuitive "tid" keyword (vs "lwp"). This has been a problem since about 8.0. How-To-Repeat: ps -axlwwHc -o tid -M vmcore.0
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>