nia
324f9d048d
netbsd: add more robust error handling for sysctl HW_IOSTATS
2021-08-09 09:08:37 +02:00
nia
5b8654d341
netbsd: Add support for DiskIOMeter
2021-08-09 09:08:37 +02:00
nia
97a859c5bd
netbsd: Use newer proplib API. Create aliases so it works on 9.x.
...
This way we avoid deprecation warnings on the development branch
of NetBSD while keeping the code functioning on the stable branch.
2021-08-05 10:47:14 +02:00
nia
c85aafa608
netbsd: If at least one AC adapter is connected, keep its state.
2021-08-05 10:47:14 +02:00
nia
93ca5af953
netbsd: style: declare variables on first use rather than C89-style
2021-08-05 10:47:14 +02:00
nia
fdcdc54ec4
netbsd: Add battery support
...
This uses proplib and sysmon_envsys to determine the total charge
percentage of any number of connected batteries as well as the
AC adapter state. Should work with ACPI and non-ACPI systems.
2021-08-05 10:47:14 +02:00
fraggerfox
2e3f34f5c1
NetBSD: Rework CPU counting.
2021-08-05 10:25:59 +02:00
nia
b4884373e5
netbsd: Support display of CPU frequency
2021-07-21 21:06:58 +02:00
Benny Baumann
458749df45
Code indentation
2021-07-15 06:57:24 +02:00
nia
4865e643ad
netbsd: Fix display of in-use and cached memory
2021-07-13 19:06:30 +02:00
fraggerfox
686309e34c
Redo the memory values based on the other BSD implementations.
2021-06-26 12:18:37 +02:00
fraggerfox
58a895e54c
Fixes minor whitespace issues and re-arrange headers to conform to style guide.
2021-06-26 12:18:37 +02:00
fraggerfox
e42ae55d69
Renames variable from opl to npl for consistency.
2021-06-26 12:18:37 +02:00
fraggerfox
497f468ed0
Fix include paths and minor whitespace issues
2021-06-26 12:18:37 +02:00
fraggerfox
9b6cecfede
Replace strlcpy() by safer String_safeStrncpy()
2021-06-26 12:18:37 +02:00
fraggerfox
3414d3b2d4
Replace maximum_PID value with INT32_MAX
...
Thank you @niacat.
2021-06-26 12:18:37 +02:00
Benny Baumann
b900e70e80
Update copyright notices
2021-06-26 12:18:37 +02:00
fraggerfox
440bb87058
Minor code clean up and corrections.
2021-06-26 12:18:37 +02:00
fraggerfox
4b49de44a8
Add NetBSD platform support without procfs dependency
...
- TODO, clean up the code base and update comments in code.
2021-06-26 12:18:37 +02:00