version 1.39, 2007/02/06 15:27:25 |
version 1.40, 2007/02/09 20:11:02 |
|
|
.Pp |
.Pp |
These commands are currently recognized (^L refers to control-L): |
These commands are currently recognized (^L refers to control-L): |
.Bl -tag -width XxXXXX |
.Bl -tag -width XxXXXX |
.It h or \&? |
.It h \*(Ba \&? |
Display a summary of the commands (help screen). |
Display a summary of the commands (help screen). |
.It ^L |
.It ^L |
Redraw the screen. |
Redraw the screen. |
.It q |
.It q |
Quit |
Quit |
.Nm top . |
.Nm . |
.El |
.El |
.Pp |
.Pp |
The following commands may not be available with overstrike terminals: |
The following commands may not be available with overstrike terminals: |
|
|
or their command line equivalents. |
or their command line equivalents. |
.It C |
.It C |
Toggle the display of process command line arguments. |
Toggle the display of process command line arguments. |
.It d |
.It d Ar n |
Change the number of displays to show (prompt for new number). |
Show number |
|
.Ar n |
|
displays. |
Remember that the next display counts as one, so typing |
Remember that the next display counts as one, so typing |
.Dq d1 |
.Sq d1 |
will make |
will make |
.Nm |
.Nm |
show one final display and then immediately exit. |
show one final display and then immediately exit. |
|
|
or |
or |
.Li renice |
.Li renice |
command. |
command. |
.It g |
.It g Ar string |
Display only processes that contain a string in their command name |
Display only processes that contain |
(prompt for string). |
.Ar string |
If the string specified is simply |
in their command name. |
.Sq + , |
.Sq g+ |
then no process name matching will be done. |
shows all processes. |
.It I or i |
.It I \*(Ba i |
Toggle the display of idle processes. |
Toggle the display of idle processes. |
.It k |
.It k |
Send a signal |
Send a signal |
|
|
by default) to a list of processes. |
by default) to a list of processes. |
This acts similarly to the command |
This acts similarly to the command |
.Xr kill 1 . |
.Xr kill 1 . |
.It n or # |
.It n\*(Ba# Ar n |
Change the number of processes to display (prompt for new number). |
Show number |
.It o |
.Ar n |
Change the sorting order of the processes |
processes. |
.Pq prompt for order . |
.It o Ar field |
|
Change the sorting order of the processes, selected by |
|
.Ar field . |
Values are the same as for the |
Values are the same as for the |
.Fl o |
.Fl o |
flag, as detailed above. |
flag, as detailed above. |
.It p |
.It p Ar pid |
Display a specific process (prompt for PID). |
Display a specific process, selected by |
If the PID specified is simply |
.Ar pid . |
.Sq + , |
.Sq p+ |
then processes belonging to all users will be displayed. |
shows all processes. |
.It r |
.It r Ar n pid |
Change the priority (the |
Change the priority (the |
.Em nice ) |
.Em nice ) |
of a list of processes (prompt for the new nice value and the list of |
of a list of processes to number |
PIDs, all separated by space). |
.Ar n |
|
for process |
|
.Ar pid . |
This acts similarly to the command |
This acts similarly to the command |
.Xr renice 8 . |
.Xr renice 8 . |
.It S |
.It S |
Toggle the display of system processes. |
Toggle the display of system processes. |
.It s |
.It s Ar n |
Change the number of seconds to delay between displays |
Change the time of the delay between displays to |
(prompt for new number). |
.Ar n |
|
seconds. |
.It T |
.It T |
Toggle the display of process threads. |
Toggle the display of process threads. |
.It u |
.It u Ar user |
Display only processes owned by a specific username (prompt for username). |
Display only processes owned by a specific |
If the username specified is simply |
.Ar user . |
.Sq + , |
.Sq u+ |
then processes belonging to all users will be displayed. |
shows processes belonging to all users. |
.El |
.El |
.Sh THE DISPLAY |
.Sh THE DISPLAY |
.\" The actual display varies depending on the specific variant of Unix |
.\" The actual display varies depending on the specific variant of Unix |