hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.84k stars 581 forks source link

htop lacks any kind of syscall tracing support on OpenBSD #945

Open Kaiepi opened 5 years ago

Kaiepi commented 5 years ago

strace doesn't exist on OpenBSD. The equivalent programs are ktrace for logging syscalls and kdump for reading the logs generated, but htop still looks for strace anyway. ktrace is also used on other BSDs and Mac OS X from what I gather, so they may need support as well if they also don't have strace.

I took a look to see if platform-dependent syscall tracing support would be something I could implement myself, but it doesn't look very straightforward to make htop use ktrace in a similar way to how it uses strace and I just don't have the time to look into it any deeper until at least a couple months from now.