htop, show cpu side by side

12,100

Solution 1

Go to settings (F2), under Meters, you select what is in the left column and what in the right column. Instead of CPUs (1/1) in the left column, select CPUs (1/2) for the left column and CPUs (2/2) for the right column. F10 to save the changes and it's done.

Solution 2

As I answered to this more recent version of the same question, this problem can also occur when you use a version of htoprc that has been optimized for a computer with less CPUs. This is like to happen when you use LDAP or some other system to share your home folder between computers.

You can solve this by deleting .config/htop/htoprc and starting htop on the computer with the most cores of the one you use. This will write an htoprc file optimized for many cores (i.e. with four columns for CPUs).

For more details, visit my answer on the other question that I linked above.

Solution 3

If you press the F2 key, you will be able to organize the meters between both columns.

Solution 4

Or if F2 doesn't help, use Shift-S which will bring you to Settings. You do not need to be root to achieve this.

Share:
12,100

Related videos on Youtube

nafas
Author by

nafas

Updated on September 18, 2022

Comments

  • nafas
    nafas almost 2 years

    How can I show the CPU usage side by side rather than a list?

    I have this : enter image description here

    but I want to show it like this: enter image description here

  • Vara
    Vara over 6 years
    I needed to run htop as root to make the settings persistent.
  • mckenzm
    mckenzm over 5 years
    Neither of these if setting wont display. I have 40 lines of CPU (out of 128). no settings...... Need to edit the rc file ; github.com/hishamhm/htop/issues/562
  • thc
    thc about 5 years
    If your CPU list takes up the whole screen, going to settings does nothing since it's off the screen. The easiest way to fix this is to maximize your terminal window and decrease font size until you can see the settings.
  • mckenzm
    mckenzm over 4 years
    Indeed, rm is the great cleanser. You are correct, it is an aws instance.
  • legel
    legel about 4 years
    Yes! This is totally true.