summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'hishamhm-pull-920'3.0.0rc1Nathan Scott2020-08-2027-26/+727
|\
| * Linux fixesRoss Williams2019-09-031-2/+2
| |
| * Support for ZFS Compressed ARC statisticsRoss Williams2019-09-0318-4/+215
| |
| * Refactor openzfs_sysctl_init() and ZfsArcMeter...Ross Williams2019-09-0310-56/+34
| | | | | | | | | | | | | | | | | | | | | | 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-075-2/+66
| |
| * Refactor common OpenZFS sysctl accessRoss Williams2019-07-0715-224/+216
| | | | | | | | | | Darwin and FreeBSD export zfs kstats through the same APIs, so moving functions into a common file.
| * ZFS arcstats for Darwin (macOS / OS X)Ross Williams2019-07-075-2/+126
| |
| * ZFS arcstats for LinuxRoss Williams2019-07-076-23/+130
| | | | | | | | | | | | If no pools are imported (ARC size == 0) or the ZFS module is not in the kernel (/proc/spl/kstat/zfs/arcstats does not exist), then the Meter reports "Unavailable".
| * Support ZFS ARC stats on FreeBSDRoss Williams2019-07-079-4/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New meter displays same ARC stats as FreeBSD top(1). Can be extended to other platforms that support ZFS. Pulling kstat.zfs.misc.arcstats.c_max as the meter total, so the meter has a meaningful value to work up to. The Text meter displays, first, the maximum ARC size (Meter.total), then second, the total ARC used, using the difference between Meter.maxItems and Meter.curItems to "hide" the used value from the Bar and Graph drawing functions by using an index in Meter.values[] that is beyond curItems - 1, but less than maxItems - 1.
| * Specify correct MIB lengthRoss Williams2019-07-061-1/+1
| | | | | | | | | | Could have resulted in a buffer overflow if the FreeBSD kernel returned more bytes than expected.
* | Merge branch 'hishamhm-pull-1012'Nathan Scott2020-08-203-8/+93
|\ \
| * | fixed x/y coordinate mixupChristoph Budziszewski2020-06-121-3/+4
| | |
| * | adding support for more than 2 smaller cpumeter columnsChristoph Budziszewski2020-06-113-8/+92
| | |
| * | removed whitespace from end of linesChristoph Budziszewski2020-06-111-7/+7
| |/
* | Merge branch 'hishamhm-pull-970'Nathan Scott2020-08-201-1/+5
|\ \
| * | Properly identify zombie processesJure Oder2019-12-141-1/+5
| |/ | | | | | | This closes issue #930.
* | Merge branch 'hishamhm-pull-1011'Nathan Scott2020-08-201-0/+3
|\ \
| * | Let the user know about their errorJorge Pereira2020-06-111-0/+3
| |/ | | | | | | If the user informed wrong value, then let them know about that.
* | Merge branch 'hishamhm-pull-1010'Nathan Scott2020-08-201-1/+2
|\ \
| * | Fix misleading indentationJorge Pereira2020-06-111-2/+5
| |/
* | Merge branch 'hishamhm-pull-1009'Nathan Scott2020-08-201-1/+1
|\ \
| * | Fix use of '-rdynamic'Jorge Pereira2020-06-111-1/+1
| |/ | | | | | | The option should be informed to the linker.
* | Merge branch 'hishamhm-pull-996'Nathan Scott2020-08-201-3/+3
|\ \
| * | format colorfo402252020-04-271-2/+2
| | |
| * | fix "Broken Gray" didn't change the color of cpu-iowaitfo402252020-04-271-1/+1
| |/
* | Merge branch 'hishamhm-pull-959'Nathan Scott2020-08-203-0/+21
|\ \
| * | Fix whitespaceDaniel Flanagan2019-10-312-9/+9
| | |
| * | Add simple vim modeDaniel Flanagan2019-10-313-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a "vim_mode" setting (false/`0` by default) that causes keys to be remapped in the following way by the `ScreenManager`: + h -> LEFT + j -> DOWN + k -> UP + l -> RIGHT + LEFT -> h (toggle help) + DOWN -> j (noop) + UP -> k (open kill menu) + RIGHT -> l (lsof current process) + K (Shift+K) -> k (open kill menu) + J (Shift+J) -> K (toggle show/hide kernel threads) + L (Shift+L) -> l (lsof current process) I couldn't figure out where the manpage documentation is in the repo, though I admittedly did not look particularly hard. I believe this change would be a welcome option for heavy vim users like myself who would like a familiar way to get around in htop.
* | | Merge branch 'hishamhm-pull-949'Nathan Scott2020-08-201-1/+1
|\ \ \
| * | | MainPanel: add seventh char to main functionsduchampdev2019-09-121-1/+1
| | |/ | |/| | | | | | | reason: currently, for example 'search' and 'filter' look very densely packed
* | | Merge branch 'hishamhm-pull-932'Nathan Scott2020-08-2015-6/+141
|\ \ \
| * | | Move sysfs-reading code to LinuxProcessList.c and add average frequency.Arnavion2019-08-104-21/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way the frequency is read from sysfs only once per update cycle instead of every time the UI is redrawn. This also changes the code to read from /proc/cpuinfo instead. This is because reading from scaling_cur_freq stalls for 10ms if the previous read for the file was more than one second ago. [1] Since htop's update cycle is longer than that, it would cause the read of each CPU's scaling_cur_freq file to block the UI for 20ms. This easily led to a noticeable half-second lag on a 20+ CPU machine. /proc/cpuinfo also has a 10ms delay, but this applies for the whole file so the delay does not scale with the number of CPUs. [2] [1]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4815d3c56d1e10449a44089a47544d9ba84fad0d [2]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7d5905dc14a87805a59f3c5bf70173aac2bb18f8
| * | | Show N/A on unsupported platforms instead of 0KHzArnavion2019-08-106-1/+17
| | | |
| * | | Fix typo.Arnavion2019-08-101-1/+1
| | | |
| * | | Show N/A instead of 0KHz when CPU frequency is not available.Arnavion2019-08-102-12/+18
| | | |
| * | | Add a display option to hide CPU usage number from CPU meter.Arnavion2019-08-104-2/+15
| | | |
| * | | Divide by 1000, not 1024, and show more decimals.Arnavion2019-08-091-6/+6
| | | |
| * | | Add new display option to also show CPU frequency in CPU meters.Arnavion2019-08-096-3/+43
| |/ / | | | | | | | | | | | | | | | | | | | | | The option is only implemented on Linux. On other platforms, and on Linuxes that do not expose the relevant sysfs file, the frequency will be 0. The "CPU average" meter does not show a frequency, only the individual per-CPU meters.
* | | Merge branch 'hishamhm-pull-923'Nathan Scott2020-08-205-2/+18
|\ \ \
| * | | Added option to enable/disable the mouse.MartinJM2019-07-121-1/+2
| | | |
| * | | Added an option to disable the mouse.MartinJM2019-07-124-27/+42
| |/ /
* | | Merge branch 'hishamhm-pull-974'Nathan Scott2020-08-201-0/+8
|\ \ \
| * | | Fix STARTTIME column on FreeBSD.Robert Crowston2019-12-311-0/+8
| |/ /
* | | Merge branch 'hishamhm-pull-971'Nathan Scott2020-08-201-1/+3
|\ \ \
| * | | update man page text about delayDave Marquardt2019-12-161-1/+3
| |/ /
* | | Merge branch 'hishamhm-pull-964'Nathan Scott2020-08-201-1/+2
|\ \ \
| * | | Added missing optionStefan2019-11-111-2/+3
| |/ /
* | | Merge branch 'hishamhm-pull-960'Nathan Scott2020-08-2048-155/+155
|\ \ \
| * | | Add `trim_trailing_whitespace` to editorconfigDaniel Flanagan2019-10-311-0/+1
| | | |
| * | | Clean up existing whitespaceDaniel Flanagan2019-10-3147-155/+155
| | |/ | |/|

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