8

Online I found the following figure where you can see "CPU" as first row and it should represent the total amount of the used CPU.

enter image description here

Amongst the options of the htop I run on my PC there isn't the above CPU option. Where can I find it?

enter image description here

Gennaro Arguzzi
  • 763
  • 4
  • 14
  • 30

2 Answers2

5

You can go to settings with F2 then move right with your right arrow key then select how you want the CPU displayed by using space then F10 to save.

Saxtheowl
  • 2,424
  • Hello @Saxtheowl I did it (see the column "Available meters" in my screenshot please), but in the options there isn't CPU, I mean total amount of the used CPU. – Gennaro Arguzzi Mar 07 '21 at 13:51
  • 2
    1 2 3 and 4 correspond to each of your processor, if you want the average of the 4 you can delete the column with delete, move to the right and add the "CPU average" to your left column – Saxtheowl Mar 07 '21 at 17:14
  • Hi @Saxtheowl, the CPU plot in the first figure should be the total amount of the used CPU, not the average. – Gennaro Arguzzi Mar 07 '21 at 17:18
  • 2
    You don't have to delete anything, you can just scroll down on the "Available meters" column after selecting the "Meters" option on the Setup drop-down of the Setup screen, to select there "CPU average". You might have to calculate the total from the average in your head, knowing the amount of cores you have, as I see no option to get a sum, only the average. You might want to look for cpu utilization tools that log all this information over time if you are after more than an eye's view of utilization. – matanox Nov 28 '21 at 22:04
  • How do we get it to show ALL the CPUs, quickly? I have over 100 cores and I don't want to have to manually add each of them. – sh37211 May 11 '24 at 22:48
1
  • press f2
  • down arrow twice to select Meters
  • right arrow three times to select available meters
  • keep going down with down arrow and search for CPU Average
  • press Enter to add
  • press left arrow to shift the meter to column 1
  • up arrow to make it the first entry
  • press space to change the style
  • press enter to lock
  • press f10 to save the layout. If freezes, use the mouse and click in f10-done
  • press f10 to quit
  • restart htop typing htop

Layout should be saved. Below image attached for clarity:

enter image description here