summaryrefslogtreecommitdiffstats
path: root/solaris/Platform.h
Commit message (Collapse)AuthorAgeFilesLines
* Mark Platform_defaultFields constChristian Göttsche2020-12-191-1/+1
|
* Rework enum ProcessFieldChristian Göttsche2020-12-191-5/+0
| | | | | | 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
* Unify naming of first argument of Platform_getBatteryChristian Göttsche2020-11-251-1/+1
| | | | Use percent throughout
* Minor cleanups to platform-specific init and doneNathan Scott2020-11-191-2/+6
| | | | | | | Move platform-specific code out of the htop.c main function and into the platform sub-directories - primarily this is the Linux procfs path check and sensors setup/teardown; not needed on any other platforms. No functional changes here.
* Merge individual Battery.[ch] files into Platform.[ch]Nathan Scott2020-11-181-0/+2
| | | | | Consistent with everything else involving platform-specific calls from core htop code.
* Resolve merge conflicts, merge #298 "Macro cleanup" from @BenBEDaniel Lange2020-11-151-5/+5
|\
| * Spacing around operatorsBenny Baumann2020-11-021-5/+5
| |
* | Split platform dependent parts for file locks screenBenny Baumann2020-11-141-4/+13
|/
* FreeBSD: implement Platform_getDiskIO()Christian Goettsche2020-10-291-3/+2
|
* Improve handling of no data in Disk and Network IO MetersChristian Göttsche2020-10-261-2/+4
|
* Add NetworkIOMeterChristian Göttsche2020-10-161-0/+5
|
* Mark Object instances constChristian Göttsche2020-10-071-1/+1
|
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* Add DiskIOMeter for IO read/write usageChristian Göttsche2020-10-031-0/+2
|
* Use strict function prototypesChristian Göttsche2020-09-181-2/+2
| | | | int foo(); declares a function taking any number of arguments.
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-1/+0
| | | | | 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.
* Merge branch 'hishamhm-pull-920'3.0.0rc1Nathan Scott2020-08-201-0/+4
|\
| * Support for ZFS Compressed ARC statisticsRoss Williams2019-09-031-0/+2
| |
| * ZFS arcstats for SolarisRoss Williams2019-07-071-0/+2
| |
* | Clean up existing whitespaceDaniel Flanagan2019-10-311-1/+1
|/
* Solaris: bump copyright in Platform.{c,h}Guy M. Broome2018-04-051-1/+1
|
* Solaris: Implement process environment listingGuy M. Broome2018-04-051-0/+9
|
* Solaris: Implement LWP enumeration (#768)gmbroome2018-03-271-0/+3
| | | | | | | | | | | | | | | 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
* Import Solaris support (#741)gmbroome2018-03-021-0/+53
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