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.
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
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
- 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@
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.
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.
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