summaryrefslogtreecommitdiffstats
path: root/dragonflybsd/DragonFlyBSDProcessList.h
Commit message (Collapse)AuthorAgeFilesLines
* PCP: support for 'dynamic columns' added at runtimeSohaib Mohamed2021-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge branch 'cpu_count' of cgzones/htopDaniel Lange2021-08-021-0/+2
|\
| * Add ProcessList_isCPUonlineChristian Göttsche2021-07-181-0/+2
| |
* | DragonFlyBSD: fixup: ProcessList_new declaration & definition mismatchSohaib Mohamed2021-07-181-1/+1
|/
* DragonFlyBSD: Fix included headersBenny Baumann2021-05-221-2/+7
|
* platform-dependent files included relative to main source directorymayurdahibhate2021-05-101-1/+2
|
* DragonFlyBSD updateChristian Göttsche2020-12-201-6/+0
| | | | | - move some functions to file scope - drop unused global variable
* DragonFlyBSD updateChristian Göttsche2020-12-201-2/+0
| | | | | | - drop unused kinfo includes and link argument - detect kvm library necessity at configure step - fix variable typo
* DragonFlyBSDProcessList: fix missing typeChristian Göttsche2020-12-061-1/+1
|
* Spacing around operatorsBenny Baumann2020-11-021-5/+5
|
* Unify function argument namesChristian Göttsche2020-10-281-1/+1
| | | | | Name first argument of ProcessList_goThroughEntries consistently super Name first argument of ProcessList_new consistently userTable
* Drop tabs in source indentionsChristian Göttsche2020-10-201-1/+1
|
* Continue to update generic data in paused modeChristian Göttsche2020-10-191-1/+1
| | | | | | | | | Generic data, as CPU and memory usage, are used by Meters. In paused mode they would stop receiving updates and especially Graph Meters would stop showing continuous data. Improves: #214 Closes: #253
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* Refactor __attribute__ usageChristian Göttsche2020-09-181-2/+0
| | | | Use internal macros for compatibility with non GNUC compilers.
* Switch variable/field naming from WhiteList to MatchListNathan Scott2020-09-091-1/+1
|
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-6/+1
| | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed.
* Axe automated header generation.Zev Weiss2020-09-031-2/+0
| | | | | | | | | | | | | | Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
* implement: readJailNameDiederik de Groot2017-04-201-1/+3
| | | | | Note: dragonflybsd does not have 'jail_get' like freebsd does. It does however provide a sysctl "jail.list" which returns a list of all jails.
* Initial addition of dragonflybsd (based on FreeBSD)Diederik de Groot2017-04-191-0/+71

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