htop-dev / htop

htop - an interactive process viewer

Home Page:https://htop.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

htop 3.3 not showing overall process cpu percentage in collapsed tree mode

pradyutb opened this issue · comments

Hello, I was using htop 3.0 for a long time, but i upgraded to 3.3 today.

It's not showing overall cpu percentage for a process collapsed in tree mode.

See the cpu usage shown in list mode and then no cpu usage being shown in tree collapsed mode.

CPU usage shown expanded tree mode-
show percent

CPU usage not shown in collapsed tree mode (see the processors being consumed at the top) -
no percent

The old htop ver 3.0.5 had this perfect. It shows the overall process usage in tree mode -
htop vlc

the process percentage for the threads in htop ver 3.0.5 -
htop old

Related: #920 (I can't confirm if these refer to the same issue)

That's a duplicate of #920 as htop never did sum the values for collapsed processes in a process tree.

One change that might be confusing is that the way the information for the main task is collected changed (htop in recent versions also reads the tasks per process, not just the process info itself).

That's a duplicate of #920 as htop never did sum the values for collapsed processes in a process tree.

I think ver 3.0.5 does this. See the last set of two screenshots.