16 Commits

Author SHA1 Message Date
sthen
b88d6e7c97 update to htop-3.0.2, maintainer timeout 2020-12-08 16:23:17 +00:00
sthen
8d2506f4cf htop: fix the patch that copes with disabled cores and hw.smt=0; it was
storing cpuids in an array but not using them and just using the array
index when looking up the stats. this works for cpus where the disabled
smt "cpu"s are at the end of the list but not where disabled/enabled
cores are interspersed as is the case with AMD. reported/tested by
Ashton Fagg.
2020-11-29 20:15:05 +00:00
sthen
659db1479c regen patches 2020-11-21 15:50:40 +00:00
rsadowski
950b10440a Update htop to 3.0.0
Drop all patches after some substantial rewrites. Find a bug, report a bug
(UPSTREAM), fix a bug.

Diff from Stephen Gregoratto <dev A-T sgregoratto DDD me>, maintainer timeout
2020-09-11 12:34:28 +00:00
robert
77b5c16af3 fix a crash while using the -s option;
the -s option requires an argument to be passed so add a leading : to
getopt_long()
2020-04-19 12:43:42 +00:00
ians
becddf94f4 Re-init all meters on edge case, fix platform code
When meters draw before init, re-init everything
Also don't write useless unusued period var in
platform code

This should stop all runtime crashes
2019-05-10 23:38:58 +00:00
ians
f8dfd43684 Properly initialize draw fptr instead of skipping draw on edge case 2019-05-10 22:35:36 +00:00
ians
52663f730b Don't attempt to redraw meters if they haven't been init'd yet.
This will stop a large number of crashes.
2019-05-10 04:24:36 +00:00
ians
d3eca77bb4 Fix CPU meters & sysctl logic
- Enumerate CPU meters based on NCPUONLINE instead of NCPU

- Use CPUSTATS_ONLINE flag to build CPU index and poll based
  on those instead of cpu count

ok patrick@
2019-05-10 02:17:46 +00:00
ians
b58c881c39 sysutils/htop: Remove errant CPU meter patch per Daniel Jakots 2018-09-12 23:00:55 +00:00
ians
93a34a7a52 Clean up Makefile and add comments describing patches, per sthen
Include URL to upstream patch as well. Thanks sthen, ok sthen@
2018-07-26 12:49:04 +00:00
ians
8c7ec0bed7 Fix bugs affecting 8-core machines
zero-index involving NCPU sysctl being used as loop condition fixed
early free fixed
2018-07-26 11:34:27 +00:00
ians
24e323708e Fix zero-index array bound bug 2018-07-17 14:14:37 +00:00
ians
cebeb8b316 Fix CPU meters
Introduction of CP_SPIN sched state broke hard-coded state indexes
resulting in the meters incorrectly reporting bogus intr data instead of
CPU usage. Change hardcoded values to sched.h macros.
2018-07-17 03:14:53 +00:00
ians
16e234e801 Update to htop-2.1.0
From Björn Ketelaar -- thanks!
2018-02-27 17:40:13 +00:00
juanfra
2f737d0d45 OK landry@
Comment:
interactive process viewer

Description:
htop is an interactive process viewer for Unix systems.

Maintainer: Ian Sutton <ian@ce.gl>

WWW: https://hisham.hm/htop/index.php
2016-11-16 19:48:19 +00:00