Document the `p' command in "interactive mode" that filters processes by pid.

While here add date to the `.TH' macro 3rd argument.

Reviewed by and thanks to <wiz>
This commit is contained in:
leot 2016-12-28 18:16:30 +00:00
parent fd60c59b96
commit 98fbbaab51
1 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@
.nr D @DEFAULT_DELAY@
.nr L @HAVE_GETOPT_LONG@
.nr K @ENABLE_KILL@
.TH TOP 1 Local
.TH TOP 1 "December 28, 2016"
.UC 4
.SH NAME
top \- display and update information about the top cpu processes
@ -301,6 +301,11 @@ but usually include: \*(lqcpu\*(rq, \*(lqres\*(rq, \*(lqsize\*(rq,
.B P
Sort by CPU usage. Shorthand for \*(lqo cpu\*(rq.
.TP
.B p
Display only process with the specified pid (prompt for process id).
If the pid specified is simply \*(lq-1\*(rq, then all processes are
displayed.
.TP
.B q
Quit
.IR top.