Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/top/dist Document the `p' command in "interacti...



details:   https://anonhg.NetBSD.org/src/rev/3d1ad30043b0
branches:  trunk
changeset: 820077:3d1ad30043b0
user:      leot <leot%NetBSD.org@localhost>
date:      Wed Dec 28 18:16:30 2016 +0000

description:
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>

diffstat:

 external/bsd/top/dist/top.1.in |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r b671d4a4dec4 -r 3d1ad30043b0 external/bsd/top/dist/top.1.in
--- a/external/bsd/top/dist/top.1.in    Wed Dec 28 13:50:55 2016 +0000
+++ b/external/bsd/top/dist/top.1.in    Wed Dec 28 18:16:30 2016 +0000
@@ -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 @@
 .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.



Home | Main Index | Thread Index | Old Index