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

  • From: Hisham <h@xxxxxxxxx>
  • To: htop@xxxxxxxxxxxxx
  • Date: Mon, 22 Feb 2016 13:33:11 -0300

Expanding the modes of CPU display is not a high priority in
development, since it affects only a very small proportion of users
and my time and resources for developing htop are very limited. For
the portability features introduced in htop 2.0, I even made a
crowdfunding effort to fund development, or else it wouldn't have been
possible. Adding features is always a delicate subject because it
entails more than accepting patches (a user sends a patch once, but I
have to give maintenance to the code forever). But if anyone would
like to sponsor development of htop features specific for
supercomputing environments, I'm open to doing consulting work for
hire, possibly integrating back to the htop codebase if desired.

-- Hisham

On 22 February 2016 at 03:52, Nan Xiao <xiaonan830818@xxxxxxxxx> wrote:

My server has 480 cores:

# grep 'model name' /proc/cpuinfo | wc -l
480

So maybe using 16 columns is a better choice! :-)
Best Regards
Nan Xiao


On Mon, Feb 22, 2016 at 8:01 AM, Dmitri Akatov <akatov@xxxxxxxxx> wrote:
+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/
--------------------------------


--------------------------------
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: