Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Portability: make list of default screens per-platform | Hisham Muhammad | 2018-04-06 | 2 | -2/+12 |
| | |||||
* | Solaris: update proc state letters to reflect Solaris usage | Guy M. Broome | 2018-04-06 | 1 | -1/+1 |
| | |||||
* | Solaris: bump copyright in Platform.{c,h} | Guy M. Broome | 2018-04-06 | 2 | -2/+2 |
| | |||||
* | Solaris: fix a memory leak caused by calling ProcessList_getProcess twice ↵ | Guy M. Broome | 2018-04-06 | 3 | -83/+65 |
| | | | | for each LWP | ||||
* | Solaris: Implement process environment listing | Guy M. Broome | 2018-04-06 | 2 | -2/+51 |
| | |||||
* | Solaris: add placeholder message about environment listing | Guy M. Broome | 2018-04-06 | 1 | -1/+1 |
| | |||||
* | Solaris: showing a dash for the top-level process is no longer necessary | Guy M. Broome | 2018-04-06 | 2 | -7/+7 |
| | |||||
* | Solaris: add warning about proc_walk_f callback function | Guy M. Broome | 2018-04-06 | 1 | -2/+8 |
| | |||||
* | Solaris: condense separate process vs lwp handling down to a single workflow | Guy M. Broome | 2018-04-06 | 2 | -126/+107 |
| | |||||
* | Solaris: get completely out of the file handling business using libproc | Guy M. Broome | 2018-04-06 | 4 | -198/+127 |
| | |||||
* | Solaris: Condense conditional blocks for new vs old LWPs and procs | Guy M. Broome | 2018-04-06 | 1 | -120/+74 |
| | |||||
* | Solaris: remove unneeded accumulators for process and thread counting | Guy M. Broome | 2018-04-06 | 1 | -11/+9 |
| | |||||
* | Solaris: Assorted post-LWP code cleanup | Guy M. Broome | 2018-04-06 | 1 | -60/+26 |
| | |||||
* | Solaris: Implement kernel thread counting | Guy M. Broome | 2018-04-06 | 1 | -1/+3 |
| | |||||
* | Solaris: If a process has a running LWP, then the process is by definition ↵ | Guy M. Broome | 2018-04-06 | 1 | -0/+2 |
| | | | | running | ||||
* | Solaris: Implement LWP enumeration (#768) | gmbroome | 2018-04-06 | 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-04-06 | 1 | -4/+6 |
| | |||||
* | Solaris: code indentation fix | gmbroome | 2018-04-06 | 1 | -1/+1 |
| | |||||
* | Solaris: enough changes made to justify a copyright bump to 2018 | Guy M. Broome | 2018-04-06 | 4 | -4/+4 |
| | |||||
* | Solaris: fix memory allocation for usernames (some empty usernames in 32-bit ↵ | Guy M. Broome | 2018-04-06 | 1 | -12/+4 |
| | | | | builds) | ||||
* | Solaris: fix malloc() / free() issues with zone name handling | Guy M. Broome | 2018-04-06 | 4 | -15/+21 |
| | |||||
* | Solaris: Import backtrace-on-abort from Linux, with minor modification for ↵ | Guy M. Broome | 2018-04-06 | 2 | -5/+19 |
| | | | | Solaris | ||||
* | Import Solaris support (#741) | gmbroome | 2018-04-06 | 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 |