summaryrefslogtreecommitdiffstats
path: root/openbsd/OpenBSDProcess.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce Machine class for host-specific info (split from ProcessList)Nathan Scott2023-05-081-2/+2
| | | | | | | | | | | First stage in sanitizing the process list structure so that htop can support other types of lists too (cgroups, filesystems, ...), in the not-too-distant future. This introduces struct Machine for system-wide information while keeping process-list information in ProcessList (now much less). Next step is to propogate this separation into each platform, to match these core changes.
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* Move kernel/userland thread handling to platform-independent implementationBenny Baumann2021-05-231-10/+0
|
* OpenBSD: updateChristian Göttsche2021-03-201-2/+9
| | | | | | | | | | | | | | | | | | * Set process data for: - minflt - majflt - processor - nlwp * Drop unimplemented nlwp column * Scan userland threads * Mark a 'Thread is currently on a CPU.' with 'R', and processes 'Currently runnable' with 'P', do confine with man:ps(1) and Linux. See https://man.openbsd.org/ps.1 * Show CPU frequency
* Merge Process_pidColumns into Process_fields and rework auto-fit for ↵Christian Göttsche2020-12-191-3/+1
| | | | PID-like columns
* Rework enum ProcessFieldChristian Göttsche2020-12-191-6/+1
| | | | | | Use only one enum instead of a global and a platform specific one. Drop Platform_numberOfFields global variable. Set known size of Process_fields array
* OpenBSD updateChristian Göttsche2020-12-061-4/+7
| | | | | | - compilation failures like `return &this->this;` -> `return &this->super;` - iwyu update - misc cleanup
* Hold only a const version of Settings in ProcessChristian Göttsche2020-10-261-1/+1
|
* Mark process parameter of Process_writeField consistently constChristian Göttsche2020-10-261-1/+1
|
* Mark remaining classes constChristian Göttsche2020-10-131-1/+1
|
* Mark process argument of Process_isThread constChristian Göttsche2020-10-091-1/+1
|
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-7/+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.
* (Very) initial working OpenBSD portMichael McConville2015-09-181-0/+48

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