Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 7165 - Niggles in top.
Niggles in top.
Product: Red Hat Linux
Classification: Retired
Component: procps (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
: 7166 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 1999-11-19 20:17 EST by dwmalone
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-11-22 15:57:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description dwmalone 1999-11-19 20:17:48 EST
Top seems to have behavior unlike any other version of top I've
used. I've one bug and one feature request.

1) Running top through rsh bogusly reports that TERM is set to
VT100 - I note that strings shows that VT100 is a string in top.
Other versions of top seem to show 24 lines of output in the
situation where they are not connected to a tty. (Note, $TERM
definitely doesn't contain VT100):
1:21:walton 71% rsh graves top
top: Unknown terminal "VT100" in $TERM
1:21:walton 72% rsh graves echo $TERM

2) When sending a signal top only allows you to give the number
of one process, it would be nice to be able to give a list. Also
it would be nice if you could give the signal number on the PID
line, so you can do something like "k -9 3927 7320 9327".
Comment 1 Bill Nottingham 1999-11-22 10:57:59 EST
*** Bug 7166 has been marked as a duplicate of this bug. ***
Comment 2 Michael K. Johnson 1999-11-22 15:57:59 EST
TERM is only set to VT100 if it is unset.  It's a least-common-denominator
guess, and is a feature, not a bug.  Set TERM and the problem will go away.

Regarding item 2, feel free to send a patch to procps-bugs@redhat.com for
consideration.  While the idea seems reasonable to me at first thought,
I don't know if/when I'd get around to implementing it.
Comment 3 Chris Siebenmann 1999-11-22 19:15:59 EST
The traditional (and useful) behavior of top when TERM is unset
is to do what one would now get with 'top b n 1' (which are,
unfortunately, modern-Linux-top specific arguments, which makes
them hard to use in portable shell scripts and in working habits
which aren't Linux-exclusive).

Note You need to log in before you can comment on or make changes to this bug.