htop/netbsd
nia 67ca214cbe netbsd: Add dyanmicMeters stubs to fix the build
Signed-off-by: Nia Alarie <nia@NetBSD.org>
2021-07-13 19:05:24 +02:00
..
NetBSDProcess.c Adds support for PROC_EXE and CWD. 2021-06-26 12:18:37 +02:00
NetBSDProcess.h Implements the NetBSD specific changes for makeCommandStr refactor. 2021-06-26 12:18:37 +02:00
NetBSDProcessList.c netbsd: Add dyanmicMeters stubs to fix the build 2021-07-13 19:05:24 +02:00
NetBSDProcessList.h netbsd: Add dyanmicMeters stubs to fix the build 2021-07-13 19:05:24 +02:00
Platform.c Redo the memory values based on the other BSD implementations. 2021-06-26 12:18:37 +02:00
Platform.h netbsd: Add dyanmicMeters stubs to fix the build 2021-07-13 19:05:24 +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