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