From: "John Zhou" <zjzhou@newrocktech.com>
To: <linuxppc-embedded@lists.linuxppc.org>
Subject: display top CPU processes top tool
Date: Fri, 5 Sep 2003 16:26:02 +0800 [thread overview]
Message-ID: <000001c37387$5897abe0$9702a8c0@newrock2> (raw)
In-Reply-To: <3F574F48.9040704@kegel.com>
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/
next prev parent reply other threads:[~2003-09-05 8:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-02 13:43 Memory Profiling Tool mss59
2003-09-02 20:51 ` Dan Kegel
2003-09-04 11:02 ` Is there any tool like purify(memory leak check tool) for Embedded Linux/ELDK environment John Zhou
2003-09-04 5:58 ` Memory Profiling Tool Der Herr Hofrat
2003-09-04 14:42 ` Dan Kegel
2003-09-05 8:26 ` John Zhou [this message]
2003-09-05 9:02 ` display top CPU processes top tool Jaap-Jan Boor
2003-09-05 9:23 ` John Zhou
2003-09-05 16:00 ` Dan Kegel
2003-09-05 16:39 ` Mark Hatle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000001c37387$5897abe0$9702a8c0@newrock2' \
--to=zjzhou@newrocktech.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox