htop icon indicating copy to clipboard operation
htop copied to clipboard

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

Open pradyutb opened this issue 1 year ago • 3 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

pradyutb avatar Apr 23 '24 13:04 pradyutb

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

Explorer09 avatar Apr 23 '24 14:04 Explorer09

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

BenBE avatar Apr 23 '24 14:04 BenBE

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.

pradyutb avatar Apr 23 '24 14:04 pradyutb