sysutils/htop doesn't show kernel threads any more after upgrading to 1.0.3. This happens all across the board, be it base/head, base/stable/10, base/stable/9, etc.
No, I haven't disabled the htop display option "Hide kernel threads", nor the htop display option "Hide userland threads", for that matter. It doesn't matter if I enable "Tree view" or not.
Kernel threads are simply no longer being displayed.
I'm moving this PR out of triage. It timed out but there are no patches provided to promote.
I think it's a bug of htop 1.0.3.
I'm waiting for upstream patch.
It seems upstream fixed this issue.
I'll send a new patch for it.
Created attachment 162539 [details]
Changed distfile to fetch latest commit from github.
Builds, and kernel thread numbers are displayed if "K" is typed, but I'm unsure
it does what submitter asked for. Can someone please test ?
(In reply to Kurt Jaeger from comment #5)
Confirmed to "work" on FreeBSD/amd64 stable/10 r290090, i.e. the kernel processes are shown again. But, CPU and memory utilization are no longer shown. Back to the drawing board.
I'm not sure if the kernel process (PID 0) needs to be displayed. Previously, the kernel threads were shown at the bottom when the processes were displayed as a process tree.
(In reply to Trond.Endrestol from comment #6)
Have you tried to report this problem upstream ?
Created attachment 166359 [details]
updated to most recent commit at github, see
builds fine on 11, it looks like per-cpu load is displayed again.
Please check and confirm.
Run-tested on 11a, 10.2a for kernel-threads, per-cpu load. Seems fine.
Run-tested on 10.2i for kernel-threads, per-cpu load. Seems fine.
A commit references this bug:
Date: Fri Feb 5 22:29:42 UTC 2016
New revision: 408275
sysutils/htop: some fixes
- re-enable kernel threads
- update to very recent version
- switch to github for distfiles
Approved by: Hung-Ti Chen <email@example.com> (maintainer timeout)