Thread (10 messages) 10 messages, 6 authors, 2003-09-05

Re: display top CPU processes top tool

flat view

From: Jaap-Jan Boor <hidden>
Date: 2003-09-05 09:02:27

Do you have a /etc/TERMCAP ?

On vrijdag, sep 5, 2003, at 10:26 Europe/Amsterdam, John Zhou wrote:
Hi, all

I'm using "top" tool to display top CPU processes and system running
information in my Embedded Linux based on PowerPC. But, when I run
"top" command in prompt #, it's coming on:

# set
PS2=>
PS1=#
IFS=
USER=root
SHELL=/bin/sh
PATH=/usr/bin:/bin:/usr/sbin:/sbin
HOME=/
TERM=ansi
#
# top
top: Unknown terminal "ansi" in $TERM
#

I changed to :

# export TERM=VT100
# set
PS2=>
PS1=#
IFS=
USER=root
SHELL=/bin/sh
PATH=/usr/bin:/bin:/usr/sbin:/sbin
HOME=/
TERM=VT100
# top
top: Unknown terminal "VT100" in $TERM
#

Another question:

How to use "top" with option to save cpu information to a log file?

Thanks for any help.

John Zhou

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help