summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-06-16Update IRC channel (Part 2)BenBE
2021-06-16Update IRC channelBenBE
The development channel on IRC moved to libera.chat
2021-06-13Minor whitespace issue in configure.acBenny Baumann
2021-06-13Fix a PCP diagnostics typo, add missing pmFreeResult null check.Nathan Scott
2021-06-13Use the PACKAGE macro rather than htop directly, for overridingNathan Scott
Allow other projects (PCP) to be able to ship an htop binary which uses the custom name (pcp-htop) in several diagnostics so that its clear which (if any!) binary failed.
2021-06-13Resolve a couple of recent memory leaks in pcp-htopNathan Scott
Makes the pcp-htop binary valgrind-clean once more.
2021-06-12Do not override Linux process library sizeChristian Göttsche
The library size in statm is unused and always 0 since Linux 2.6. Fixes: 8154125d4bf26fff20241eebe17954254409a522
2021-06-12Limit deleted library checkChristian Göttsche
Reading and parsing /proc/<pid>/maps is quite expensive. Do not check for deleted libraries if the main binary has been deleted; in this case the deleted binary takes precedence. Do not check in threads. The check is void for kernel threads and user- land threads can just inherit the state from the main process structure.
2021-06-12Do not install recommended packages by default for the CIBenny Baumann
This ensures, the minimal dependencies we specify are sufficient. Also this reduces fallout from broken recommendations.
2021-06-11Apply stale lib highlighting for EXE tooBenny Baumann
2021-06-09Linux: update process uid on changeChristian Göttsche
Always check if the user of a process changed, e.g. by using setuid(2).
2021-06-09Linux: drop O_PATH usageChristian Göttsche
O_PATH is available since Linux 2.6.39, but we are using fstat(2) on the returned file descriptor in LinuxProcessList_statProcessDir(), which is only supported since Linux 3.6. Fixes #534
2021-06-09Check processes for using deleted shared librariesChristian Göttsche
Shared libraries can be replaced by an upgrade, highlight processes using deleted shared libraries. Link with highlightDeletedExe setting, enabled by default. Currently only checked on Linux.
2021-06-09Use macros to PCPProcessList value extraction, tweak configure.acNathan Scott
Resolves a couple of remaining review notes from @BenBE.
2021-06-09Update platform-specific header includes to use pcp paths.Nathan Scott
Resolves a couple of remaining review notes from @BenBE.
2021-06-09Update the PCP platform to use common Process fields and codeNathan Scott
Remove code now that we have common platform-independent command line wrangling (thanks BenBE!). Add PCP platform support for a handful of other recently arriving odds and ends - ELAPSED time, CWD, and so on.
2021-06-09Rework TTY column for the PCP platformNathan Scott
2021-06-09Various code tidyups based on review commentary from BenBENathan Scott
2021-06-09Resolve some Coverity scan misfires in PCP platform codeNathan Scott
2021-06-09Remove dynamic allocation of PCP metric atomvalues expansionNathan Scott
This is no longer used and confuses Coverity scans, drop it.
2021-06-09Drop CI distcheck on pcp build as pcp-htop.c now contains mainNathan Scott
2021-06-09Add time handling interfaces for the pcp platformNathan Scott
Related to https://github.com/htop-dev/htop/pull/574
2021-06-09Implement command line and environment handling for pcp htop.Nathan Scott
2021-06-09Implement shared memory support on the PCP platformNathan Scott
Uses the mem.util.shared metric (Shmem from meminfo).
2021-06-09Update PCP platform to use the old hostname API callNathan Scott
Fixes CI builds which are on an old version of PCP.
2021-06-09Update PCP platform to match latest API changesNathan Scott
Updates for recent NetworkIO Meter changes, adds support for the SysArch and HostName Meters. The SysArch change is based on work originally by Sohaib Mohamed.
2021-06-09Fixes and cleanups for ZFS Meters and metricsNathan Scott
2021-06-09Ensure PCP platform ZramMeter always uses initialized dataNathan Scott
2021-06-09Fix PCP ZramMeter in presense of missing zram metricsSohaib
2021-06-09Add ZFS ARC statistics and meters to the PCP platformSohaib
2021-06-09Fix cut+paste typo in --enable-pcp error messageNathan Scott
2021-06-09Add new CI workflow to check pcp-enabled buildsNathan Scott
2021-06-09Add a platform for Performance Co-Pilot (PCP) metricsNathan Scott
This introduces an initial platform for extracting metrics using the PCP performance metrics API - PMAPI(3). It can be used via the --enable-pcp=yes configure option. So far I've added support for live localhost metrics only, and only using pre-defined metrics already found in htop. If available, all sampling is performed by pmcd(1) - else, we fallback to htop doing the metric sampling itself (all below the PMAPI). When pmcd is used, it may be configured to run children with elevated privileges, so htop does not need to be setuid (authentication with pmcd is available). Additionally, the PMAPI allows us to support archives (for historical analysis and for automated regression tests in htop). We'll need platform-specific command line argument additions, which isn't yet feasible in htop (not difficult to add though). The goal of this first version is minimal impact in terms of modifying the htop codebase, to introduce key ideas in PCP (metric namespace, metadata, APIs and so on) and give us something to discuss, experiment with and build on.
2021-05-30htop.1.in: Some grammatical errors are fixed.Varik Valefor
2021-05-30htop.1.in: A grammatical error is fixed.Varik Valefor
2021-05-25Unsupported: Implement CWD columnBenny Baumann
2021-05-25Solaris: Implement CWD columnBenny Baumann
2021-05-25OpenBSD: Implement CWD columnBenny Baumann
2021-05-25FreeBSD: Implement CWD columnBenny Baumann
2021-05-25DragonFlyBSD: Implement CWD columnBenny Baumann
2021-05-25Darwin: Implement CWD columnBenny Baumann
2021-05-25Move CWD field handling to platform-neutral codeBenny Baumann
2021-05-25Linux: add reset to heuristicChristian Göttsche
On hard to parse command lines tokenStart might be computed to be bigger than tokenEnd. Reset both values in such cases.
2021-05-23Add ELAPSED process columnChristian Göttsche
Add process columns showing the elapsed time since the process was started. Similar to STARTTIME, but shows the time passed since the process start instead of the fixed start time of the process. Closes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782636
2021-05-23Fix assert failure on short running threadChristian Göttsche
The following assert failure might happen on short running threads with an empty comm value in /proc/${pid}/stat: htop: Process.c:1159: void Process_updateCmdline(Process *, const char *, int, int): Assertion `(cmdline && basenameStart < (int)strlen(cmdline)) || (!cmdline && basenameStart == 0)' failed. The specific task is: comm='' exe='(null)' cmdline='/usr/bin/ruby /usr/bin/how-can-i-help --apt' So basenameStart is 0, while strlen(cmdline) is also 0.
2021-05-23Update documentation for basename coloring of cmdline/exe columnsBenny Baumann
2021-05-23Force update when executable was recently deleted/replacedBenny Baumann
2021-05-23Allow for highlighting of deleted executables to be configuredBenny Baumann
Fixes #383
2021-05-23Solaris: add EXE and COMM columns and use merged command line helpersChristian Göttsche
2021-05-23DragonFlyBSD: add EXE and COMM columns and use merged command line helpersChristian Göttsche