Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-03 | NetBSD: scale CPU frequencies | Christian Göttsche | |
Use a value type of 'long int' to avoid ENOMEM failures of sysctl(3). Also check for "machdep.tsc_freq", scaled in MHz. | |||
2021-09-03 | NetBSD: misc const additions | Christian Göttsche | |
2021-09-03 | NetBSD: update process fields | Christian Göttsche | |
Populate fields to ttyname, minflt, majflt and processor. | |||
2021-09-03 | NetBSD: fix reading environment variables of processes | Christian Göttsche | |
kvm_getenvv(3) seems not to work with kvm_openfiles(..., KVM_NO_FILES, ...) | |||
2021-09-03 | NetBSD: simplify Platform_setMemoryValues | Christian Göttsche | |
2021-09-03 | Add completion handling for dynamic meters and columns | Nathan Scott | |
Be sure to free dynamic memory allocated for meters and columns strings, no-op on platforms other than pcp. Closes #774 | |||
2021-08-17 | Add combined memory and swap meter | Christian Göttsche | |
Closes: #699 | |||
2021-08-16 | Use proper metric to detect kernel threads | Benny Baumann | |
Querying kernel threads with `ps -o pid,lid,flags,state,lname -sp 0` gives that kernel threads have state `K` and flags have mask `0x20000` set. This corresponds to `LW_SYSTEM` in kernel which is mapped as `L_SYSTEM`/`P_SYSTEM` for userspace. | |||
2021-08-16 | Build fix for NetBSD | fraggerfox | |
2021-08-13 | netbsd: Add NetworkIOMeter support | nia | |
2021-08-13 | Merge branch 'dynamic-columns' of https://github.com/smalinux/htop into ↵ | Nathan Scott | |
smalinux-dynamic-columns | |||
2021-08-13 | PCP: support for 'dynamic columns' added at runtime | Sohaib Mohamed | |
Implements support for arbitrary Performance Co-Pilot metrics with per-process instance domains to form new htop columns. The column-to-metric mappings are setup using configuration files which will be documented via man pages as part of a follow-up commit. We provide an initial set of column configurations so as to provide new capabilities to pcp-htop: including configs for containers, open fd counts, scheduler run queue time, tcp/udp bytes/calls sent/recv, delay acct, virtual machine guests, detailed virtual memory, swap. Note there is a change to the configuration file path resolution algorithm introduced for 'dynamic meters'. First, look in any custom PCP_HTOP_DIR location. Then iterate, in priority order, users home directory, then local sysadmins files in /etc/pcp/htop, then readonly configuration files below /usr/share/pcp/htop. This final location becomes the preferred place for our own shipped meter and column files. The Settings file (htoprc) writing code is updated to not using the numeric identifier for dynamic columns. The same strategy used for dynamic meters is used here where we write Dynamic(name) so the name can be setup once more at start. Regular (static) columns writing to htoprc - i.e. numerically indexed - is unchanged. | |||
2021-08-09 | netbsd: handle repeated ENOMEM from HW_IOSTATS safely | nia | |
2021-08-09 | netbsd: add more robust error handling for sysctl HW_IOSTATS | nia | |
2021-08-09 | netbsd: Add support for DiskIOMeter | nia | |
2021-08-05 | netbsd: Use newer proplib API. Create aliases so it works on 9.x. | nia | |
This way we avoid deprecation warnings on the development branch of NetBSD while keeping the code functioning on the stable branch. | |||
2021-08-05 | netbsd: If at least one AC adapter is connected, keep its state. | nia | |
2021-08-05 | netbsd: style: declare variables on first use rather than C89-style | nia | |
2021-08-05 | netbsd: Add battery support | nia | |
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 | NetBSD: Rework CPU counting. | fraggerfox | |
2021-07-21 | Fix indentation style | nia | |
2021-07-21 | netbsd: convert snprintf use to xSnprintf | nia | |
2021-07-21 | netbsd: re-initialize freqSize before sysctlbyname() | nia | |
2021-07-21 | netbsd: Remove conditional compilation of CPU frequency variables | nia | |
2021-07-21 | netbsd: Support display of CPU frequency | nia | |
2021-07-15 | Whitespace around operators | Benny Baumann | |
2021-07-15 | Code indentation | Benny Baumann | |
2021-07-15 | Split statements that should go onto multiple lines | Benny Baumann | |
2021-07-15 | netbsd: update README.md (#694) | nia | |
netbsd: update README.md | |||
2021-07-13 | netbsd: Fix display of in-use and cached memory | nia | |
2021-07-13 | netbsd: Add dyanmicMeters stubs to fix the build | nia | |
Signed-off-by: Nia Alarie <nia@NetBSD.org> | |||
2021-06-26 | Always update `proc->st_uid` + `proc->user` | BenBE | |
Avoids issue #661. | |||
2021-06-26 | Redo the memory values based on the other BSD implementations. | fraggerfox | |
2021-06-26 | Adds support for counting user and kernel threads. | fraggerfox | |
2021-06-26 | Adds support for PROC_EXE and CWD. | fraggerfox | |
2021-06-26 | Adds the ELAPSED column for NetBSD. | fraggerfox | |
Additional details regarding ELAPSED column can be found in #627. | |||
2021-06-26 | Fixes minor whitespace issues and re-arrange headers to conform to style guide. | fraggerfox | |
2021-06-26 | Implements the NetBSD specific changes for makeCommandStr refactor. | fraggerfox | |
Refer to #388 PR for more details. | |||
2021-06-26 | Sets a non-NULL process state in case of kvm_getlwps(3) returns NULL. Thanks ↵ | fraggerfox | |
@cgzone. | |||
2021-06-26 | Refactor saturatingSub() to be part of Macros.h | fraggerfox | |
2021-06-26 | Renames variable from opl to npl for consistency. | fraggerfox | |
2021-06-26 | Fix include paths and minor whitespace issues | fraggerfox | |
2021-06-26 | Replace strlcpy() by safer String_safeStrncpy() | fraggerfox | |
2021-06-26 | Replace maximum_PID value with INT32_MAX | fraggerfox | |
Thank you @niacat. | |||
2021-06-26 | Update README for NetBSD | fraggerfox | |
2021-06-26 | Remove unwanted code, updates the comments | fraggerfox | |
2021-06-26 | Update copyright notices | Benny Baumann | |
2021-06-26 | Minor code clean up and corrections. | fraggerfox | |
2021-06-26 | Sync changes from master and fix minor warnings | fraggerfox | |
2021-06-26 | Add NetBSD platform support without procfs dependency | fraggerfox | |
- TODO, clean up the code base and update comments in code. |