Commit Graph

20 Commits

Author SHA1 Message Date
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
sthen
77f7cc9c61 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:49:33 +00:00
sthen
6ff3e55398 bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into

the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
2019-06-25 20:25:20 +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
sthen
90710cfcdd bump HW_SENSORS users, kernel ABI change from adding a new sensor type
breakage in zabbix reported by Mark Patruck
2018-12-12 13:34:31 +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
ajacoutot
ce0bec3c92 REVISION can't go backward. 2018-07-04 09:07:04 +00:00
ians
aaec5aeefc htop: turn INSTALL_STRIP back on after reports of segfaults & rm REVISION 2018-07-04 04:13:53 +00:00
ians
f1654b1620 Update to htop 2.2.0 2018-07-04 03:50:16 +00:00
espie
150a0f36fa first tag: update-desktop-database 2018-06-27 21:03:34 +00:00
sthen
114b1e4413 Bump the remaining ports to trigger updates following cpu stats
changes (CPUSTATES/etc). Last part.

- some of these might be in code that's not actually built or rarely
used but it's not worth the hassle evaluating that, i'm just bumping &
moving on.

- as mentioned before, there might still be runtime problems relating
to the addition or renumbering.
2018-06-01 15:44:28 +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