You are not logged in.

#1 2022-08-16 11:26:44

Shyden
Member
Registered: 2022-02-18
Posts: 13

[Solved] Is there a way to have htop show "accurate" cpu usage?

I like htop but I hate the fact that it shows cpu usage as individual threads (As in the reason cpu usage can go over 100%). Is there a way to change this or should I find another process manager? (I did look beforehand, I may just be a bad googler but I didn't find anything, and I also didnt see anything in the setup or help tab)

Thanks :)

Last edited by Shyden (2022-08-16 18:50:50)

Offline

#2 2022-08-16 12:22:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [Solved] Is there a way to have htop show "accurate" cpu usage?

Learn to read man pages before googling:

man htop wrote:

PERCENT_CPU (CPU%)                                                                                                           
        The  percentage of the CPU time that the process is currently using.  This is the default way to represent CPU usage in Linux. Each process can consume up to 100% which means the full capacity of the core it is running on.  This  is  some‐times called "Irix mode" e.g. in top(1).

PERCENT_NORM_CPU (NCPU%)
        The  percentage  of  the CPU time that the process is currently using normalized by CPU count. This is sometimes called "Solaris mode" e.g. in top(1).

Last edited by Trilby (2022-08-16 12:24:01)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2022-08-16 18:50:34

Shyden
Member
Registered: 2022-02-18
Posts: 13

Re: [Solved] Is there a way to have htop show "accurate" cpu usage?

Thanks for the future tip and for the answer. I was even looking at other man pages earlier, guess I was too sleep deprived to remember. Have a nice day :)

Last edited by Shyden (2022-08-16 18:51:03)

Offline

#4 2022-08-17 15:50:24

an4rki_
Member
Registered: 2022-08-16
Posts: 50

Re: [Solved] Is there a way to have htop show "accurate" cpu usage?

You can add average CPU usage from the htop configuration, open htop and press F2 to open the Setup then go meters and select CPU average from the list.


"A computer is like air conditioning - it becomes useless when you open Windows." - Linus Torvalds
Arch + DWM

Offline

Board footer

Powered by FluxBB