htop icon indicating copy to clipboard operation
htop copied to clipboard

Long-term CPU%

Open OlafvdSpek opened this issue 2 years ago • 2 comments

Current CPU% is measured over the last 1s (I think), could a total CPU% be added, measured as total CPU time (TIME - Total time the process has spent in user and system time) divided by total wallclock time (now - STARTTIME - Time the process was started)

OlafvdSpek avatar Dec 27 '23 16:12 OlafvdSpek

What metric are you looking for in particular?

  • Global CPU% over 1m/5m/15m -> Load Average Meter
  • Per-process CPU% over 1m/5m/15m -> needs explicit tracking from htop
  • Percentage of User/System/IOwait time per process -> Is available, but confusingly named
  • Percentage of User/System/IOwait over process lifetime -> needs explicit tracking from htop
  • Something else?

BenBE avatar Dec 27 '23 17:12 BenBE

Per-process CPU% over the life-time of the process, not needing explicit tracking from htop.

OlafvdSpek avatar Dec 27 '23 17:12 OlafvdSpek