Nathan Scott
f9625cacf0
Merge branch 'hishamhm-pull-843'
2020-08-19 17:47:38 +10:00
Nathan Scott
e9947acfc6
Merge branch 'hishamhm-pull-818'
2020-08-19 16:49:43 +10:00
Nathan Scott
5a17cee74d
Merge branch 'hishamhm-pull-817'
2020-08-19 16:43:55 +10:00
Nathan Scott
ed6f22a847
Merge branch 'master' of github.com:htop-dev/htop
2020-08-18 20:24:11 +10:00
Nathan Scott
2f59798b3b
Merge pull request #2 from leetonidas/master
...
fixed display of blank bars
2020-08-18 20:22:24 +10:00
Jonischkeit Clemens
9a70e43129
fixed display of blank bars
...
The buffer for blank bars was left uninitialized resulting in random
looking characters sometimes even overwriting the end of the bar.
2020-08-18 11:48:08 +02:00
Nathan Scott
7ac1c709b7
Re-generate all headers with latest scripts/MakeHeader.py
...
Sync-up missing extern declarations for many functions.
2020-08-18 17:41:49 +10:00
Nathan Scott
579995c7c2
Merge branch 'hishamhm-pull-842'
2020-08-18 17:35:56 +10:00
Nathan Scott
98e8da8bd3
Merge pull request #1 from htop-dev/natoscott-continuous-integration
...
Create ci.yml with a workflow for Ubuntu latest
2020-08-17 16:02:20 +10:00
Nathan Scott
7fbbf25afe
Update ci.yml
...
Comment out MacOSX for now - seems to be missing needed aclocal/m4 toolchain components.
2020-08-17 15:53:49 +10:00
Nathan Scott
e1f48c7c7c
Update ci.yml
...
Correction to deb package name
2020-08-17 15:48:24 +10:00
Nathan Scott
6cd1615863
Update ci.yml
...
Attempt to fix Ubuntu dependencies, add macosx
2020-08-17 15:40:47 +10:00
Nathan Scott
c86ac5cf98
Update ci.yml
...
Install libncurses-dev package on the build system
2020-08-17 15:16:49 +10:00
Nathan Scott
b3003f02fa
Create ci.yml
...
Initial version of htop CI using github actions.
2020-08-17 14:59:23 +10:00
Nathan Scott
dfd9279f87
Resolve complation issues with -fno-common (default from gcc-10)
...
Extends the MakeHeader script to auto-generate correct "extern"
function declarations in some cases that it currently does not.
Related to https://github.com/hishamhm/htop/pull/981
2020-07-10 10:35:32 +10:00
Christoph Budziszewski
b55f9320bc
fixed x/y coordinate mixup
2020-06-12 23:53:05 +02:00
Christoph Budziszewski
7fdd8d3732
adding support for more than 2 smaller cpumeter columns
2020-06-11 23:21:52 +02:00
Christoph Budziszewski
f74cde982f
removed whitespace from end of lines
2020-06-11 23:00:16 +02:00
Jorge Pereira
832e77c754
Let the user know about their error
...
If the user informed wrong value, then let them know about that.
2020-06-11 13:44:16 -03:00
Jorge Pereira
8de04986cf
Fix misleading indentation
2020-06-11 13:42:41 -03:00
Jorge Pereira
1b4ed916b1
Fix use of '-rdynamic'
...
The option should be informed to the linker.
2020-06-11 13:30:30 -03:00
fo40225
05c974f6cc
format color
2020-04-27 12:32:58 +08:00
fo40225
6b5b8bab2c
fix "Broken Gray" didn't change the color of cpu-iowait
2020-04-27 12:31:17 +08:00
Robert Crowston
87c05ac136
Fix STARTTIME column on FreeBSD.
2019-12-31 19:28:23 +00:00
Dave Marquardt
ccf0e18414
update man page text about delay
2019-12-16 15:45:55 -06:00
Jure Oder
88c9ebb8f7
Properly identify zombie processes
...
This closes issue #930 .
2019-12-14 11:47:03 +01:00
Stefan
37cc11253e
Added missing option
2019-11-11 00:54:51 +01:00
Daniel Flanagan
63fbc3b517
Add `trim_trailing_whitespace` to editorconfig
2019-10-31 11:39:57 -05:00
Daniel Flanagan
dd33444f7e
Clean up existing whitespace
2019-10-31 11:39:12 -05:00
Daniel Flanagan
9ed47a213b
Fix whitespace
2019-10-31 11:29:28 -05:00
Daniel Flanagan
12805f61d8
Add simple vim mode
...
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.
2019-10-31 11:20:55 -05:00
Daniel Flanagan
28840683cf
Merge remote-tracking branch 'upstream/master'
2019-10-31 10:31:38 -05:00
duchampdev
18a60d668d
MainPanel: add seventh char to main functions
...
reason: currently, for example 'search' and 'filter' look very densely packed
2019-09-12 22:45:34 +02:00
smattie
1886117c72
Linux: fixes sysfs battery discovery
2019-09-07 15:21:04 +01:00
Ross Williams
a267003f2f
Linux fixes
2019-09-03 19:56:38 +00:00
Ross Williams
613556faeb
Support for ZFS Compressed ARC statistics
2019-09-03 18:44:19 +00:00
Ross Williams
e450b58636
Refactor openzfs_sysctl_init() and ZfsArcMeter...
...
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.
2019-09-03 18:21:33 +00:00
Arnavion
81b64691a7
Move sysfs-reading code to LinuxProcessList.c and add average frequency.
...
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
2019-08-10 22:19:32 -07:00
Arnavion
909bb86f05
Show N/A on unsupported platforms instead of 0KHz
2019-08-10 17:17:45 -07:00
Arnavion
43728b37e7
Fix typo.
2019-08-10 11:46:21 -07:00
Arnavion
1acfb0a752
Show N/A instead of 0KHz when CPU frequency is not available.
2019-08-10 11:37:35 -07:00
Arnavion
1d5e6a27a0
Add a display option to hide CPU usage number from CPU meter.
2019-08-10 11:20:21 -07:00
Arnavion
9703a25d1b
Divide by 1000, not 1024, and show more decimals.
2019-08-09 23:22:05 -07:00
Arnavion
4b0600d8f8
Add new display option to also show CPU frequency in CPU meters.
...
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.
2019-08-09 21:34:48 -07:00
MartinJM
7858ee6cee
Added option to enable/disable the mouse.
2019-07-12 22:01:29 +02:00
MartinJM
b0e24cd5a5
Added an option to disable the mouse.
2019-07-12 21:41:09 +02:00
Ross Williams
ff6914e4ad
ZFS arcstats for Solaris
2019-07-07 23:10:54 -04:00
Ross Williams
a88d2e313d
Refactor common OpenZFS sysctl access
...
Darwin and FreeBSD export zfs kstats through the
same APIs, so moving functions into a common file.
2019-07-07 23:10:54 -04:00
Ross Williams
fc8e9a2d3e
ZFS arcstats for Darwin (macOS / OS X)
2019-07-07 23:10:46 -04:00
Ross Williams
070fe90461
ZFS arcstats for Linux
...
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".
2019-07-07 22:57:15 -04:00