summaryrefslogtreecommitdiffstats
path: root/netbsd
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-227-7/+7
|
* NetBSD: scale CPU frequenciesChristian Göttsche2021-09-031-12/+16
| | | | | | Use a value type of 'long int' to avoid ENOMEM failures of sysctl(3). Also check for "machdep.tsc_freq", scaled in MHz.
* NetBSD: misc const additionsChristian Göttsche2021-09-031-2/+2
|
* NetBSD: update process fieldsChristian Göttsche2021-09-031-3/+14
| | | | Populate fields to ttyname, minflt, majflt and processor.
* NetBSD: fix reading environment variables of processesChristian Göttsche2021-09-031-3/+3
| | | | | kvm_getenvv(3) seems not to work with kvm_openfiles(..., KVM_NO_FILES, ...)
* NetBSD: simplify Platform_setMemoryValuesChristian Göttsche2021-09-031-6/+3
|
* Add completion handling for dynamic meters and columnsNathan Scott2021-09-031-0/+4
| | | | | | | Be sure to free dynamic memory allocated for meters and columns strings, no-op on platforms other than pcp. Closes #774
* Add combined memory and swap meterChristian Göttsche2021-08-171-0/+2
| | | | Closes: #699
* Use proper metric to detect kernel threadsBenny Baumann2021-08-161-1/+1
| | | | | | 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.
* Build fix for NetBSDfraggerfox2021-08-162-3/+3
|
* netbsd: Add NetworkIOMeter supportnia2021-08-131-3/+27
|
* Merge branch 'dynamic-columns' of https://github.com/smalinux/htop into ↵Nathan Scott2021-08-131-3/+7
|\ | | | | | | smalinux-dynamic-columns
| * PCP: support for 'dynamic columns' added at runtimeSohaib Mohamed2021-08-131-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | netbsd: handle repeated ENOMEM from HW_IOSTATS safelynia2021-08-091-0/+5
| |
* | netbsd: add more robust error handling for sysctl HW_IOSTATSnia2021-08-091-9/+17
| |
* | netbsd: Add support for DiskIOMeternia2021-08-091-3/+37
| |
* | netbsd: Use newer proplib API. Create aliases so it works on 9.x.nia2021-08-051-20/+26
| | | | | | | | | | This way we avoid deprecation warnings on the development branch of NetBSD while keeping the code functioning on the stable branch.
* | netbsd: If at least one AC adapter is connected, keep its state.nia2021-08-051-1/+1
| |
* | netbsd: style: declare variables on first use rather than C89-stylenia2021-08-051-24/+18
| |
* | netbsd: Add battery supportnia2021-08-052-4/+103
| | | | | | | | | | | | 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.
* | NetBSD: Rework CPU counting.fraggerfox2021-08-053-29/+77
|/
* Fix indentation stylenia2021-07-211-1/+1
|
* netbsd: convert snprintf use to xSnprintfnia2021-07-211-1/+1
|
* netbsd: re-initialize freqSize before sysctlbyname()nia2021-07-211-1/+3
|
* netbsd: Remove conditional compilation of CPU frequency variablesnia2021-07-211-8/+2
|
* netbsd: Support display of CPU frequencynia2021-07-213-0/+66
|
* Whitespace around operatorsBenny Baumann2021-07-151-2/+2
|
* Code indentationBenny Baumann2021-07-152-7/+7
|
* Split statements that should go onto multiple linesBenny Baumann2021-07-151-1/+3
|
* netbsd: update README.md (#694)nia2021-07-151-18/+22
| | | netbsd: update README.md
* netbsd: Fix display of in-use and cached memorynia2021-07-132-9/+3
|
* netbsd: Add dyanmicMeters stubs to fix the buildnia2021-07-133-3/+11
| | | | Signed-off-by: Nia Alarie <nia@NetBSD.org>
* Always update `proc->st_uid` + `proc->user`BenBE2021-06-261-2/+5
| | | Avoids issue #661.
* Redo the memory values based on the other BSD implementations.fraggerfox2021-06-261-1/+3
|
* Adds support for counting user and kernel threads.fraggerfox2021-06-261-1/+8
|
* Adds support for PROC_EXE and CWD.fraggerfox2021-06-262-0/+56
|
* Adds the ELAPSED column for NetBSD.fraggerfox2021-06-261-0/+6
| | | | Additional details regarding ELAPSED column can be found in #627.
* Fixes minor whitespace issues and re-arrange headers to conform to style guide.fraggerfox2021-06-264-4/+6
|
* Implements the NetBSD specific changes for makeCommandStr refactor.fraggerfox2021-06-263-20/+28
| | | | Refer to #388 PR for more details.
* Sets a non-NULL process state in case of kvm_getlwps(3) returns NULL. Thanks ↵fraggerfox2021-06-261-14/+17
| | | | @cgzone.
* Refactor saturatingSub() to be part of Macros.hfraggerfox2021-06-261-4/+0
|
* Renames variable from opl to npl for consistency.fraggerfox2021-06-262-15/+15
|
* Fix include paths and minor whitespace issuesfraggerfox2021-06-263-6/+7
|
* Replace strlcpy() by safer String_safeStrncpy()fraggerfox2021-06-261-1/+1
|
* Replace maximum_PID value with INT32_MAXfraggerfox2021-06-261-2/+3
| | | | Thank you @niacat.
* Update README for NetBSDfraggerfox2021-06-261-23/+4
|
* Remove unwanted code, updates the commentsfraggerfox2021-06-262-92/+7
|
* Update copyright noticesBenny Baumann2021-06-267-1/+13
|
* Minor code clean up and corrections.fraggerfox2021-06-262-58/+2
|
* Sync changes from master and fix minor warningsfraggerfox2021-06-262-2/+21
|

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