I'm on a system with 48 threads and the view for usage is taking up 4/5 of the vertical screen space. Is there a way to toggle the CPU usage window to just view the active PIDs?
1 Answer
You can’t toggle the top part of the screen in its entirety, but you can customize it. Press S to open the setup screen, then the right arrow to move to the column with the CPU entry, and Del to remove it. Esc will return to the main view.
Other variants are possible, for example the “CPU average” meter shows the average CPU use across all CPUs on a single line:
Whichever setup you end up with will be stored in htop
’s configuration file, so subsequent invocations will start as you left it.
-
Ah ok great, I'll do this and then use sysmon to monitor individual thread usage.– BitShiftFeb 7 at 15:17
-
Actually there is an option to have "all cpus in 8 separate columns" which works very well!– BitShiftFeb 7 at 15:21
-
Yes, I didn’t want to list all the options but there are quite a few different settings — how well they work depends on the number of CPUs and the size of your terminal window. Feb 7 at 15:22
Header layout
andMeters
options in Setup... you should be able to condense the cpu threads horizontally, into 4 columns, select which meters you want and also adjust the layout ratio... This should allow you to maximize vertical space for processes/threads