- 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