Debian bug report logs - #662
top doesn't behave sensibly if fields overflow

Package: procps; Reported by: iwj10@cus.cam.ac.uk (Ian Jackson); 217 days old.

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Tue Mar 28 04:36:22 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0rtaVR-0005qbC; Tue, 28 Mar 95 04:36 PST
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA28818
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Tue, 28 Mar 1995 04:36:12 -0800
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #30) id m0rtaV2-000BzqC; Tue, 28 Mar 95 13:35 BST
Received: by chiark (Smail3.1.28.1 #3)
	id m0rtPGW-0002gOZ; Tue, 28 Mar 95 01:36 BST
Message-Id: <m0rtPGW-0002gOZ.ijackson@nyx.cs.du.edu>
Date: Tue, 28 Mar 95 01:36 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: top doesn't behave sensibly if fields overflow

Package: procps
Version: 0.96-1

If (for example) you have a process that is 10Mb or more large, this
causes the relevant field in the top listing to overflow.  All the
other fields get shifted up one, and if you're unlucky this will cause
the line to become too long for the display.  This in turn make top
scroll the screen when it writes the last line of process listing.

It keeps restarting the listing at the top of the screen and then
scrolling the top line off.

Here is an example of the kind of listing that caused the problem.
This was cut-and-pasted from an 80-column xterm.

  1:32am  up 7 days, 10:27,  9 users,  load average: 1.60, 1.94, 1.98
64 processes: 58 sleeping, 1 running, 1 zombie, 4 stopped
CPU states:  8.0% user, 31.5% system,  0.0% nice, 60.8% idle
Mem:   6688K av,  6560K used,   128K free,  2020K shrd,  1448K buff
Swap: 33784K av, 21352K used, 12432K free

  PID USER     PRI  NI SIZE  RES SHRD STAT %CPU %MEM  TIME COMMAND
18783 ian       27   0  114  316  320 R    27.2  4.7  0:01 /new/usr/bin/top
18487 ian        2   0 10204  700 2988 S     4.6 10.4  2:02 emacs -f make-session
14467 root       3   0 2078  588  544 S     2.9  8.7  6:44 (X)
 [rest deleted to save space]

The line for emacs is 81 characters long.

Ian.

Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson):
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#662; Package procps; Resent-Message-ID: <debian-bugs-handler.662.032813152516013@pixar.com>. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov