Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch variable/field naming from WhiteList to MatchList | Nathan Scott | 2020-09-09 | 2 | -3/+3 |
| | |||||
* | Further, minor cleanups to headers post-MakeHeaders | Nathan Scott | 2020-09-08 | 5 | -15/+1 |
| | | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed. | ||||
* | Merge branch 'noheadergen' of https://github.com/zevweiss/htop into ↵ | Nathan Scott | 2020-09-08 | 8 | -115/+0 |
|\ | | | | | | | zevweiss-noheadergen | ||||
| * | Axe automated header generation. | Zev Weiss | 2020-09-03 | 8 | -115/+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. | ||||
* | | fix for double symbol link error on solaris | Dominik Hassler | 2020-09-05 | 1 | -1/+1 |
| | | |||||
* | | htop should report the nice level properly | Dominik Hassler | 2020-09-05 | 1 | -1/+1 |
|/ | |||||
* | Updates to project URLs in docs and embedded in source code | Nathan Scott | 2020-08-22 | 1 | -1/+1 |
| | |||||
* | Remove trailing whitespaces | Christian Göttsche | 2020-08-21 | 2 | -2/+0 |
| | |||||
* | Merge branch 'hishamhm-pull-920'3.0.0rc1 | Nathan Scott | 2020-08-20 | 4 | -0/+70 |
|\ | |||||
| * | Support for ZFS Compressed ARC statistics | Ross Williams | 2019-09-03 | 3 | -0/+20 |
| | | |||||
| * | Refactor openzfs_sysctl_init() and ZfsArcMeter... | Ross Williams | 2019-09-03 | 1 | -12/+1 |
| | | | | | | | | | | | | | | | | | | | | | | openzfs_sysctl_init() now returns void instead of int. The ZfsArcStats->enabled flag is set inside the init function now, instead of having to be set from its return value. Preparation for more flag setting in Compressed ARC commit. ZfsArcMeter_readStats() added and all Meter->values[] setting moved to it, eliminating duplicated code in {darwin,freebsd,linux,solaris}/Platform.c. | ||||
| * | ZFS arcstats for Solaris | Ross Williams | 2019-07-07 | 4 | -0/+61 |
| | | |||||
* | | Merge branch 'hishamhm-pull-932' | Nathan Scott | 2020-08-20 | 1 | -0/+3 |
|\ \ | |||||
| * | | Show N/A on unsupported platforms instead of 0KHz | Arnavion | 2019-08-10 | 1 | -0/+3 |
| |/ | |||||
* | | Merge branch 'hishamhm-pull-960' | Nathan Scott | 2020-08-20 | 4 | -20/+20 |
|\ \ | |||||
| * | | Clean up existing whitespace | Daniel Flanagan | 2019-10-31 | 4 | -20/+20 |
| |/ | |||||
* | | Merge branch 'hishamhm-pull-914' | Nathan Scott | 2020-08-20 | 2 | -3/+7 |
|\ \ | |||||
| * | | does not work within NGZ | senjan | 2019-05-26 | 2 | -3/+7 |
| |/ | |||||
* / | Widen ST_UID (UID) column to 5 chars to allow UIDs > 9999 without breaking ↵ | Daniel Lange | 2018-10-07 | 1 | -1/+1 |
|/ | | | | | | alignment Issue Github #841, Debian bug #910492 | ||||
* | Solaris: update proc state letters to reflect Solaris usage | Guy M. Broome | 2018-04-05 | 1 | -1/+1 |
| | |||||
* | Solaris: bump copyright in Platform.{c,h} | Guy M. Broome | 2018-04-05 | 2 | -2/+2 |
| | |||||
* | Solaris: fix a memory leak caused by calling ProcessList_getProcess twice ↵ | Guy M. Broome | 2018-04-05 | 3 | -83/+65 |
| | | | | for each LWP | ||||
* | Solaris: Implement process environment listing | Guy M. Broome | 2018-04-05 | 2 | -2/+51 |
| | |||||
* | Solaris: add placeholder message about environment listing | Guy M. Broome | 2018-04-05 | 1 | -1/+1 |
| | |||||
* | Solaris: showing a dash for the top-level process is no longer necessary | Guy M. Broome | 2018-04-05 | 2 | -7/+7 |
| | |||||
* | Solaris: add warning about proc_walk_f callback function | Guy M. Broome | 2018-04-05 | 1 | -2/+8 |
| | |||||
* | Solaris: condense separate process vs lwp handling down to a single workflow | Guy M. Broome | 2018-04-05 | 2 | -126/+107 |
| | |||||
* | Solaris: get completely out of the file handling business using libproc | Guy M. Broome | 2018-04-05 | 4 | -198/+127 |
| | |||||
* | Solaris: Condense conditional blocks for new vs old LWPs and procs | Guy M. Broome | 2018-04-05 | 1 | -120/+74 |
| | |||||
* | Solaris: remove unneeded accumulators for process and thread counting | Guy M. Broome | 2018-04-05 | 1 | -11/+9 |
| | |||||
* | Solaris: Assorted post-LWP code cleanup | Guy M. Broome | 2018-04-05 | 1 | -60/+26 |
| | |||||
* | Solaris: Implement kernel thread counting | Guy M. Broome | 2018-04-05 | 1 | -1/+3 |
| | |||||
* | Solaris: If a process has a running LWP, then the process is by definition ↵ | Guy M. Broome | 2018-04-05 | 1 | -0/+2 |
| | | | | running | ||||
* | Solaris: Implement LWP enumeration (#768) | gmbroome | 2018-03-27 | 6 | -21/+209 |
| | | | | | | | | | | | | | | | Squashed the following commits: * Solaris: Get LWP enumeration working * Solaris: Make showing and hiding of kernel threads behave * Solaris: remove usage of lwpstatus that is no longer needed * Solaris: no discrete access to parent proc structure needed * Solaris: Restore runtime MaxPid detection after LWP changes * Solaris: Workaround virtual PID signal issue by shadowing kill() with a macro * Solaris: Fix unintention double-shifting of virtual PID for LWP enumeration * Solaris: Add LWPID to default display since LWP enumeration is also default * Solaris: use PAGE_SIZE_KB from Process.h instead of custom definition * Solaris: stop LWP enumeration at 1023 LWPs per proc since that is all we can handle in the virtual PID | ||||
* | Solaris: Fix virt and resident memory sizes. Was using KiB, needed pages. | Guy M. Broome | 2018-03-26 | 1 | -4/+6 |
| | |||||
* | Solaris: code indentation fix | gmbroome | 2018-03-16 | 1 | -1/+1 |
| | |||||
* | Solaris: enough changes made to justify a copyright bump to 2018 | Guy M. Broome | 2018-03-16 | 4 | -4/+4 |
| | |||||
* | Solaris: fix memory allocation for usernames (some empty usernames in 32-bit ↵ | Guy M. Broome | 2018-03-16 | 1 | -12/+4 |
| | | | | builds) | ||||
* | Solaris: fix malloc() / free() issues with zone name handling | Guy M. Broome | 2018-03-16 | 4 | -15/+21 |
| | |||||
* | Solaris: Import backtrace-on-abort from Linux, with minor modification for ↵ | Guy M. Broome | 2018-03-16 | 2 | -5/+19 |
| | | | | Solaris | ||||
* | Import Solaris support (#741) | gmbroome | 2018-03-02 | 10 | -0/+1041 |
This commit adds support for Solaris, squashed from PR #741: Summary of additions: * Initial setup of Solaris platform directory * Add Solaris platform into autoconf template * Uptime and load averages * Add dependency on libkstat * Basic process listing * Zone name display * CPU detection * Per-process memory and CPU usage parsed correctly * Uses sysconf to discover number of CPUs, instead of more complex libkstat code * Simple memory display working * Reduce repetitive calls to the PAGE_SIZE macro when reading memory info * Add Project, Contract, Task, and Pool into process properties * Use system major()/minor() implementations and remove extraneous definition of mkdev() * Get the STARTTIME column working properly, using the Linux implementation as a guide |