[htop] Re: How to scroll down the output of htop?

  • From: Dmitri Akatov <akatov@xxxxxxxxx>
  • To: htop@xxxxxxxxxxxxx
  • Date: Mon, 22 Feb 2016 00:01:17 +0000

+1 on having the option to display more columns.
I had exactly the same problem as Xiao Nan 7 years when running htop on a
university supercomputer with 256 or 512 cores...
So it may make sense to go as high as 16 columns...

On 21 February 2016 at 22:44, Warren W. Kretzschmar <wkretzsch@xxxxxxxxx>
wrote:

Is there a way to add more options for the number of columns? Something
like 6 and 8? That would probably solve this problem as well...
On 21 Feb 2016 8:35 p.m., "Hisham" <h@xxxxxxxxx> wrote:

On 20 February 2016 at 07:20, Warren W. Kretzschmar <wkretzsch@xxxxxxxxx>
wrote:
Is there a way to change the number of CPU meter columns?

You can have them in 1, 2 or 4 columns using the various "CPUs"
options in the [F2] Setup → Meters → Available Meters list. On first
start, htop tries to adjust an appropriate default based on the number
of CPUs you have, but you can readjust it in the Setup screen.

-- Hisham


On 19 February 2016 at 17:20, Hisham <h@xxxxxxxxx> wrote:

On 19 February 2016 at 08:13, Nan Xiao <xiaonan830818@xxxxxxxxx>
wrote:
Hi all,

The htop shipped on RHEL7 is 1.0.3:

# htop -v
htop 1.0.3 - (C) 2004-2012 Hisham Muhammad
Released under the GNU GPL.

If the CPUs are too many, I find the whole screen will only display
CPUs as attachment.

I try to scroll down use "PgDn" or "Down arrow", but none of these
methods take effect.

So can I scroll down the output of htop? Thanks very much in advance!

Wow, that's a HUGE system!

There is no way to scroll the meters. A workaround so you can use htop
in this system is to replace the "All CPUs" display with a single "CPU
Average" meter.

I usually don't recommend editing ~/.config/htop/htoprc by hand, but
in this case it is necessary because the Setup screen is inaccessible.
So, edit ~/.config/htop/htoprc and set the values of the meter entries
like this:

left_meters=CPU Memory Swap
left_meter_modes=1 1 1
right_meters=Tasks LoadAverage Uptime
right_meter_modes=2 2 2

You will lose the individual display of each CPU, but this will enable
you to see the processes.

Hope this helps,

-- Hisham
--------------------------------
htop mailing list
Project website: http://hisham.hm/htop/
List options (unsubscribe, etc:) //www.freelists.org/list/htop/
--------------------------------


--------------------------------
htop mailing list
Project website: http://hisham.hm/htop/
List options (unsubscribe, etc:) //www.freelists.org/list/htop/
--------------------------------


Other related posts: