htop/netbsd
fraggerfox 3414d3b2d4 Replace maximum_PID value with INT32_MAX
Thank you @niacat.
2021-06-26 12:18:37 +02:00
..
NetBSDProcess.c Remove unwanted code, updates the comments 2021-06-26 12:18:37 +02:00
NetBSDProcess.h Update copyright notices 2021-06-26 12:18:37 +02:00
NetBSDProcessList.c Remove unwanted code, updates the comments 2021-06-26 12:18:37 +02:00
NetBSDProcessList.h Update copyright notices 2021-06-26 12:18:37 +02:00
Platform.c Replace maximum_PID value with INT32_MAX 2021-06-26 12:18:37 +02:00
Platform.h Update copyright notices 2021-06-26 12:18:37 +02:00
ProcessField.h Update copyright notices 2021-06-26 12:18:37 +02:00
README.md Update README for NetBSD 2021-06-26 12:18:37 +02:00

NetBSD support in htop(1)

This implementation makes NetBSD use htop(1) without the need of mount_procfs(8).

The implementation has been copied over and modified from the OpenBSD implementation in htop(1).

Current implementation mimics the procfs based implementation in stats collection.

Make NetBSD no longer masquerade as Linux.

What works

  • Builds in NetBSD without any additional patch
  • Uses sysctl(3) and kvm(3) to get basic information
  • Shows basic meters CPU / Memory / Swap
  • Shows basic process listing

What needs to be tested

  • Memory being split into used/buffers/cache
  • Basic features of htop(1) like kill / nice / sort / search works as expected
  • If the meter displays are working as expected
  • If the process states are displayed correctly
  • If thread information and count are displayed correctly