summaryrefslogtreecommitdiffstats
path: root/netbsd/README.md
blob: 4df361b16f5a5e50a3d675a3fc4fd1258d558b5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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 from the OpenBSD implemention in
htop(1).

Current implementation mimics the procfs based implementation in stats
collection.

Make NetBSD no longer masquerade as Linux.

Build notes
---

* Make sure python interpreter is correct in `scripts/MakeHeader.py`

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 does *NOT* work
---

* Memory being split into used/buffers/cache
* Thread information and count may not be correct

What needs to be tested
---

* 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

TODO
---

* Clean up the implementation, unused variables etc
* Remove unused / irrelevant files and useless / unused code
* Use kvm_getlwps(3) to get thread information
* Implement proper Memory usage display
* Make package in pkgsrc-wip for better testing

© 2014-2024 Faster IT GmbH | imprint | privacy policy