debian-bugs-dist.lists.debian.org
[Top] [All Lists]

Bug#274251: procps: top doesn't fit on the screen when accessed by ssh f

Subject: Bug#274251: procps: top doesn't fit on the screen when accessed by ssh from cygwin
From: Peter Ross
Date: Thu, 30 Sep 2004 18:40:04 +0200
Package: procps
Version: 1:3.2.1-2
Severity: normal

When executing top in a cygwin window (I used ssh to login to a debian
machine) there is a blank line between each displayed process causing
the top to use more than all the available screen real estate.

The work around is to use the "n" command to restrict the number of
lines displayed to be something less so that the extra blank lines don't
cause top to use all the screen up.

I tested using putty ssh to access the debian box running testing, and the
problem doesn't appear.

I tested using cygwin ssh to access a debian box running stable, and this
problem doesn't occur, top behaves as expected.

I suspect the problem is something to do with the definition of the
cygwin term in testing, but that is just my guess.



Steps to reproduce
------------------
1. ssh to a debian machine using the latest ssh from cygwin
2. execute top

Acutal Output (after using the "n" command)
-------------------------------------------
top - 18:28:31 up  8:43,  7 users,  load average: 0.06, 0.03, 0.00
Tasks:  91 total,   1 running,  90 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3% us,  0.2% sy,  0.0% ni, 99.1% id,  0.3% wa,  0.0% hi, 0.0% si
Mem:    516868k total,   487036k used,    29832k free,    22140k buffers
Swap:   506008k total,        0k used,   506008k free,   375864k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

 3326 petdr     15   0  2124 1100 1904 R  0.7  0.2   0:00.05 top

 3313 petdr     16   0  2124 1088 1904 S  0.3  0.2   0:00.33 top

    1 root      16   0  1528  528 1376 S  0.0  0.1   0:00.61 init

    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0

    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0

    4 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/1

    5 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/1

    6 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 events/0

    7 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 events/1

    8 root       5 -10     0    0    0 S  0.0  0.0   0:00.01 kblockd/0

    9 root       5 -10     0    0    0 S  0.0  0.0   0:00.02 kblockd/1

   11 root       6 -10     0    0    0 S  0.0  0.0   0:00.01 khelper

   10 root      15   0     0    0    0 S  0.0  0.0   0:00.00 kirqd

   12 root      15   0     0    0    0 S  0.0  0.0   0:00.18 pdflush

   13 root      15   0     0    0    0 S  0.0  0.0   0:00.63 pdflush

Expected Output
---------------
top - 18:28:31 up  8:43,  7 users,  load average: 0.06, 0.03, 0.00
Tasks:  91 total,   1 running,  90 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3% us,  0.2% sy,  0.0% ni, 99.1% id,  0.3% wa,  0.0% hi, 0.0% si
Mem:    516868k total,   487036k used,    29832k free,    22140k buffers
Swap:   506008k total,        0k used,   506008k free,   375864k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 3326 petdr     15   0  2124 1100 1904 R  0.7  0.2   0:00.05 top
 3313 petdr     16   0  2124 1088 1904 S  0.3  0.2   0:00.33 top
    1 root      16   0  1528  528 1376 S  0.0  0.1   0:00.61 init
    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    4 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/1
    5 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/1
    6 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 events/0
    7 root       5 -10     0    0    0 S  0.0  0.0   0:00.00 events/1
    8 root       5 -10     0    0    0 S  0.0  0.0   0:00.01 kblockd/0
    9 root       5 -10     0    0    0 S  0.0  0.0   0:00.02 kblockd/1
   11 root       6 -10     0    0    0 S  0.0  0.0   0:00.01 khelper
   10 root      15   0     0    0    0 S  0.0  0.0   0:00.00 kirqd
   12 root      15   0     0    0    0 S  0.0  0.0   0:00.18 pdflush
   13 root      15   0     0    0    0 S  0.0  0.0   0:00.63 pdflush


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-686-smp
Locale: LANG=C, LC_CTYPE=C

Versions of packages procps depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#274251: procps: top doesn't fit on the screen when accessed by ssh from cygwin, Peter Ross <=
Privacy Policy