#586497 [top] graceful degradation on small screen sizes

Package:
procps
Source:
procps
Description:
/proc file system utilities
Submitter:
Paul Wise
Date:
2021-09-22 04:41:12 UTC
Severity:
wishlist
#586497#5
Date:
2010-06-20 04:19:38 UTC
From:
To:
I occasionally run top under vala-terminal in Debian on my OpenMoko
FreeRunner phone. The screen on this device is 2.84" diagonal. After
removing the space taken by the virtual keyboard, panel and
vala-terminal toolbar, this gives a terminal size of 51x19 which is
enough to display up to the %MEM column and 12 processes. If I increase
the font size to something that is more readable and restart top then I
get a size of 28x10 which is enough to display up to the VIRT column and
3 processes. I'd like top to gracefully degrade in the following ways:

Assign an "importance" value to each column based on some criteria, sort
the columns by "importance" and drop any columns that don't fit in the
terminal size. I'm thinking that the importance order should be
something like currently selected sort column, command, pid, user, %CPU,
%MEM, TIME+, NI, PR, VIRT, RES, SHR & S. The importance order should be
configurable so that people can customise it.

The rows at the top should become progressively more abbreviated as the
number of columns in the terminal decreases. Initially the extra
whitespace should be removed, then abbreviate phrases to single words,
then abbreviate words to less and less characters, then just display the
numbers and units, then drop units.

The rows at the top should have "importance" values and should be
dropped to make way for more processes. The drop order should be
configurable and default to something like blank line, Tasks, Swap, Mem,
Cpu(s), top.

#586497#12
Date:
2021-09-22 04:23:55 UTC
From:
To:
Hello,

Good morning,

We have gone through your samples from a partner and Here is our  Order
List. Please do bear in mind that we are very much in  need of this
order, quote your competitive prices.

Kindly send the Order confirmation.

Your early reply will be much appreciated.

Best Regards,

Maryanah Erwin.

PT FINDORA INTERNUSA

Jln Pahlawan 66 Kec. Arjawinangun

45162 CIREBON West-Java INDONESIA

tel : +62 231 357334

fax: +62 231 357260

email: marketing@findora.com