HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
t
top(1) top(1)
NAME
top - display and update information about the top processes on the system
SYNOPSIS
top [-s time ][-d count ][-q][-u][-h][-n number ]
DESCRIPTION
top displays the top processes on the system and periodically updates the information. Raw CPU percen-
tage is used to rank the processes.
Options
top recognizes the following command-line options:
-s time Set the delay between screen updates to time seconds. The default delay between
updates is 5 seconds.
-d count Show only count displays, then exit. A display is considered to be one update of the
screen. This option is used to select the number of displays to be shown before the pro-
gram exits.
-q This option runs the top program at the same priority as if it is executed via a
nice
-20
command so that it will execute faster (see nice(1)). This can be very useful in dis-
covering any system problem when the system is very sluggish. This option is accessibly
only to users who have appropriate privileges.
-u User ID (uid) numbers are displayed instead of usernames. This improves execution
speed by eliminating the additional time required to map uid numbers to user names.
-h Hides the individual CPU state information for systems having multiple processors. Only
the average CPU status will be displayed.
-n number Show only number processes per screen. Note that this option is ignored if number is
greater than the maximum number of processes that can be displayed per screen.
Screen-Control Commands
When displaying multiple-screen data,
top recognizes the following keyboard screen-control commands:
j Display next screen if the current screen is not the last screen.
k Display previous screen if the current screen is not the first screen.
t Display the first (top) screen.
Program Termination
To exit the program and resume normal user activities, type q at any time.
Display Description
Three general classes of information are displayed by top:
System Data:
The first few lines at the top of the display show general information about the state of the sys-
tem, including:
System name and current time.
Load averages in the last one, five, and fifteen minutes of all the active processors in the
system.
Number of existing processes and the number of processes in each state (sleeping, wait-
ing, running, starting, zombie, and stopped).
Percentage of time spent in each of the processor states (user, nice, system, idle, inter-
rupt and swapper) per active processor on the system.
Average value for each of the active processor states (only on multi-processor systems).
Memory Data
Includes virtual and real memory in use (with the amount of memory considered "active" in
parentheses) and the amount of free memory.
HP-UX Release 11i: December 2000 1 Section 1935
___
___