summaryrefslogtreecommitdiffstats
path: root/solaris
Commit message (Collapse)AuthorAgeFilesLines
...
* Use strict function prototypesChristian Göttsche2020-09-181-2/+2
| | | | int foo(); declares a function taking any number of arguments.
* Switch variable/field naming from WhiteList to MatchListNathan Scott2020-09-092-3/+3
|
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-085-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 Scott2020-09-088-115/+0
|\ | | | | | | zevweiss-noheadergen
| * Axe automated header generation.Zev Weiss2020-09-038-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 solarisDominik Hassler2020-09-051-1/+1
| |
* | htop should report the nice level properlyDominik Hassler2020-09-051-1/+1
|/
* Updates to project URLs in docs and embedded in source codeNathan Scott2020-08-221-1/+1
|
* Remove trailing whitespacesChristian Göttsche2020-08-212-2/+0
|
* Merge branch 'hishamhm-pull-920'3.0.0rc1Nathan Scott2020-08-204-0/+70
|\
| * Support for ZFS Compressed ARC statisticsRoss Williams2019-09-033-0/+20
| |
| * Refactor openzfs_sysctl_init() and ZfsArcMeter...Ross Williams2019-09-031-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 SolarisRoss Williams2019-07-074-0/+61
| |
* | Merge branch 'hishamhm-pull-932'Nathan Scott2020-08-201-0/+3
|\ \
| * | Show N/A on unsupported platforms instead of 0KHzArnavion2019-08-101-0/+3
| |/
* | Merge branch 'hishamhm-pull-960'Nathan Scott2020-08-204-20/+20
|\ \
| * | Clean up existing whitespaceDaniel Flanagan2019-10-314-20/+20
| |/
* | Merge branch 'hishamhm-pull-914'Nathan Scott2020-08-202-3/+7
|\ \
| * | does not work within NGZsenjan2019-05-262-3/+7
| |/
* / Widen ST_UID (UID) column to 5 chars to allow UIDs > 9999 without breaking ↵Daniel Lange2018-10-071-1/+1
|/ | | | | | alignment Issue Github #841, Debian bug #910492
* Solaris: update proc state letters to reflect Solaris usageGuy M. Broome2018-04-051-1/+1
|
* Solaris: bump copyright in Platform.{c,h}Guy M. Broome2018-04-052-2/+2
|
* Solaris: fix a memory leak caused by calling ProcessList_getProcess twice ↵Guy M. Broome2018-04-053-83/+65
| | | | for each LWP
* Solaris: Implement process environment listingGuy M. Broome2018-04-052-2/+51
|
* Solaris: add placeholder message about environment listingGuy M. Broome2018-04-051-1/+1
|
* Solaris: showing a dash for the top-level process is no longer necessaryGuy M. Broome2018-04-052-7/+7
|
* Solaris: add warning about proc_walk_f callback functionGuy M. Broome2018-04-051-2/+8
|
* Solaris: condense separate process vs lwp handling down to a single workflowGuy M. Broome2018-04-052-126/+107
|
* Solaris: get completely out of the file handling business using libprocGuy M. Broome2018-04-054-198/+127
|
* Solaris: Condense conditional blocks for new vs old LWPs and procsGuy M. Broome2018-04-051-120/+74
|
* Solaris: remove unneeded accumulators for process and thread countingGuy M. Broome2018-04-051-11/+9
|
* Solaris: Assorted post-LWP code cleanupGuy M. Broome2018-04-051-60/+26
|
* Solaris: Implement kernel thread countingGuy M. Broome2018-04-051-1/+3
|
* Solaris: If a process has a running LWP, then the process is by definition ↵Guy M. Broome2018-04-051-0/+2
| | | | running
* Solaris: Implement LWP enumeration (#768)gmbroome2018-03-276-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. Broome2018-03-261-4/+6
|
* Solaris: code indentation fixgmbroome2018-03-161-1/+1
|
* Solaris: enough changes made to justify a copyright bump to 2018Guy M. Broome2018-03-164-4/+4
|
* Solaris: fix memory allocation for usernames (some empty usernames in 32-bit ↵Guy M. Broome2018-03-161-12/+4
| | | | builds)
* Solaris: fix malloc() / free() issues with zone name handlingGuy M. Broome2018-03-164-15/+21
|
* Solaris: Import backtrace-on-abort from Linux, with minor modification for ↵Guy M. Broome2018-03-162-5/+19
| | | | Solaris
* Import Solaris support (#741)gmbroome2018-03-0210-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

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