Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Early program termination only from main() | Volodymyr Vasiutyk | 2021-10-31 | 1 | -1/+2 |
| | |||||
* | Update license headers to explicitly say GPLv2+ | Daniel Lange | 2021-09-22 | 1 | -1/+1 |
| | |||||
* | Add combined memory and swap meter | Christian Göttsche | 2021-08-17 | 1 | -0/+2 |
| | | | | Closes: #699 | ||||
* | Solaris: support offline CPUs and hot-swapping | Christian Göttsche | 2021-07-18 | 1 | -1/+6 |
| | | | | | Example hot-swapping: psradm -F -f 2 | ||||
* | Rework CPU counting | Christian Göttsche | 2021-07-18 | 1 | -1/+1 |
| | | | | | | | | | | | Currently htop does not support offline CPUs and hot-swapping, e.g. via echo 0 > /sys/devices/system/cpu/cpu2/online Split the current single cpuCount variable into activeCPUs and existingCPUs. Supersedes: #650 Related: #580 | ||||
* | Code indentation | Benny Baumann | 2021-07-15 | 1 | -5/+5 |
| | |||||
* | Solaris: correct process env memory handling | Christian Göttsche | 2021-05-20 | 1 | -2/+2 |
| | | | | | Allow strncpy to NUL-terminate the buffer and do not return a non free- able string literal. | ||||
* | Solaris: reduce variable scope | Christian Göttsche | 2021-05-20 | 1 | -3/+7 |
| | | | | Also check for getloadavg(3c) failure | ||||
* | Solaris: add kstat lookup wrappers | Christian Göttsche | 2021-05-20 | 1 | -1/+1 |
| | | | | | | | The system interfaces kstat_lookup() and kstat_data_lookup() take a non-constant string parameter, but passing string literals is valid. Add wrapper functions to ignore all the const-discard warnings. | ||||
* | Include signal.h, reorder headers | Benny Baumann | 2021-04-03 | 1 | -12/+13 |
| | |||||
* | Use unsigned types for CPU counts and associated variables | Christian Göttsche | 2021-03-19 | 1 | -2/+2 |
| | |||||
* | MemoryMeter: show shared memory before cached | Christian Göttsche | 2021-03-17 | 1 | -1/+3 |
| | | | | | | Shared memory is less free-able than cached memory. Show it beforehand. | ||||
* | Fix integer sizing issues in the NetworkIO Meter | Nathan Scott | 2021-03-01 | 1 | -8/+2 |
| | | | | | | | | | On Linux kernels the size of the values exported for network device bytes and packets has used a 64 bit integer for quite some time (2.6+ IIRC). Make the procfs value extraction use correct types and change internal types used to rate convert these counters (within the NetworkIO Meter) 64 bit integers, where appropriate. | ||||
* | [#480] SysArchMeter to view kernel/arch info | ahgamut | 2021-01-31 | 1 | -0/+2 |
| | | | | | | | At start, SysArchMeter calls the uname function to obtain the kernel version and architecture. If available, the distro version is obtained by calling lsb_release. The obtained values are stored in static variables and used when updating the meter. | ||||
* | Use String_eq wrapper instead of raw strcmp | Christian Göttsche | 2021-01-30 | 1 | -1/+1 |
| | |||||
* | Linux: Add SwapCached to the swap meter | David Zarzycki | 2021-01-11 | 1 | -0/+1 |
| | | | | | | | According to the Linux kernel documentation, "SwapCached" tracks "memory that once was swapped out, is swapped back in but still also is in the swapfile (if memory is needed it doesn't need to be swapped out AGAIN because it is already in the swapfile. This saves I/O)." | ||||
* | add support to display CPU frequencies on Solarish platforms | Dominik Hassler | 2020-12-25 | 1 | -1/+1 |
| | |||||
* | Mark Platform_defaultFields const | Christian Göttsche | 2020-12-19 | 1 | -1/+1 |
| | |||||
* | Rework enum ProcessField | Christian Göttsche | 2020-12-19 | 1 | -4/+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_getBattery | Christian Göttsche | 2020-11-25 | 1 | -2/+2 |
| | | | | Use percent throughout | ||||
* | Merge branch 'cleanup-init-done' into master | Nathan Scott | 2020-11-23 | 1 | -4/+13 |
|\ | |||||
| * | Minor cleanups to platform-specific init and done | Nathan Scott | 2020-11-19 | 1 | -4/+13 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Fix NULL pointer dereference on kstat_lookup failure | Benny Baumann | 2020-11-22 | 1 | -14/+12 |
| | | |||||
* | | Rename virtual memory column from M_SIZE to M_VIRT | Christian Göttsche | 2020-11-21 | 1 | -1/+1 |
|/ | | | | Closes: #325 | ||||
* | Merge individual Battery.[ch] files into Platform.[ch] | Nathan Scott | 2020-11-18 | 1 | -0/+5 |
| | | | | | Consistent with everything else involving platform-specific calls from core htop code. | ||||
* | Show CPU temperature in CPU meter | Christian Göttsche | 2020-11-16 | 1 | -0/+1 |
| | | | | | Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter. | ||||
* | Resolve merge conflicts, merge #298 "Macro cleanup" from @BenBE | Daniel Lange | 2020-11-15 | 1 | -26/+34 |
|\ | |||||
| * | Integrate NAN check into assignment | Benny Baumann | 2020-11-02 | 1 | -4/+1 |
| | | | | | | | | The check for NAN is kept to avoid relying on implementation details of the CLAMP macro/function | ||||
| * | Embracing branches | Benny Baumann | 2020-11-02 | 1 | -7/+18 |
| | | |||||
| * | Spacing around operators | Benny Baumann | 2020-11-02 | 1 | -16/+16 |
| | | |||||
| * | Whitespace and indentation issues | Benny Baumann | 2020-11-02 | 1 | -3/+3 |
| | | |||||
* | | Split platform dependent parts for file locks screen | Benny Baumann | 2020-11-14 | 1 | -0/+11 |
|/ | |||||
* | FreeBSD: implement Platform_getDiskIO() | Christian Goettsche | 2020-10-29 | 1 | -4/+2 |
| | |||||
* | Hold only a const version of the ProcessList in Meters | Christian Göttsche | 2020-10-26 | 1 | -6/+6 |
| | |||||
* | Improve handling of no data in Disk and Network IO Meters | Christian Göttsche | 2020-10-26 | 1 | -2/+6 |
| | |||||
* | Add NetworkIOMeter | Christian Göttsche | 2020-10-16 | 1 | -0/+11 |
| | |||||
* | Some more locations for ARRAYSIZE | Benny Baumann | 2020-10-08 | 1 | -1/+2 |
| | |||||
* | Mark Object instances const | Christian Göttsche | 2020-10-07 | 1 | -1/+1 |
| | |||||
* | Mark Object classes and Object class fields const | Christian Göttsche | 2020-10-07 | 1 | -2/+2 |
| | |||||
* | Merge branch 'update-license-and-copyright-info' | Nathan Scott | 2020-10-06 | 1 | -1/+1 |
|\ | |||||
| * | Update License consistently to GPLv2 as per COPYING file | Daniel Lange | 2020-10-05 | 1 | -1/+1 |
| | | |||||
* | | Add a date and datetime meter (#159) | Michael F. Schönitzer | 2020-10-05 | 1 | -0/+4 |
|/ | | | | | | Add a date meter and sort header and source files in Makefile Change the lists of header and source files sorted alphabetical and one file per line. This way diffs become better readable and merges easier. | ||||
* | Add DiskIOMeter for IO read/write usage | Christian Göttsche | 2020-10-03 | 1 | -0/+5 |
| | |||||
* | CPUMeter: add octuple-column CPU meters. | multi | 2020-09-28 | 1 | -0/+3 |
| | | | | | | | This is a straightforward extension of the existing multi-column CPU meter code, which now allows for up CPU meters to be displayed in up to 16 columns. This also adds the meter declarations to all the platform-specific code. | ||||
* | Add missing 4-column CPU meters to non-Linux platforms. | multi | 2020-09-28 | 1 | -0/+3 |
| | |||||
* | Update CPU freq display to use NAN on error | Benny Baumann | 2020-09-24 | 1 | -1/+1 |
| | |||||
* | Axe automated header generation. | Zev Weiss | 2020-09-03 | 1 | -22/+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.0rc1 | Nathan Scott | 2020-08-20 | 1 | -0/+16 |
|\ | |||||
| * | Support for ZFS Compressed ARC statistics | Ross Williams | 2019-09-03 | 1 | -0/+8 |
| | | |||||
| * | 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. |