diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-10-07 06:26:13 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-10-07 06:26:13 +0000 |
commit | 2bccf344d8a3f9f34752e51ac50df53503c76f94 (patch) | |
tree | 0a07b2d089a5058b9680ac02f8bc303ab79cd6d9 /usr.bin/top/top.1 | |
parent | 21dda97f12ab9e6f16723ca5550c186a3b677b32 (diff) |
introduce -p option and p command to only show a single process.
From Patrick Latifi. ok deraadt@ millert@
Diffstat (limited to 'usr.bin/top/top.1')
-rw-r--r-- | usr.bin/top/top.1 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/top/top.1 b/usr.bin/top/top.1 index 4857c5d647d..d0c415b2afa 100644 --- a/usr.bin/top/top.1 +++ b/usr.bin/top/top.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: top.1,v 1.24 2004/05/10 20:26:08 millert Exp $ +.\" $OpenBSD: top.1,v 1.25 2004/10/07 06:26:12 otto Exp $ .\" .\" Copyright (c) 1997, Jason Downs. All rights reserved. .\" @@ -34,6 +34,7 @@ .Op Fl biInqSu .Op Fl d Ar count .Op Fl o Ar field +.Op Fl p Ar pid .Op Fl s Ar time .Op Fl U Ar username .Op Ar number @@ -127,6 +128,9 @@ version of top supports .Ar time , and .Ar pri . +.It Fl p Ar pid +Show only the process +.Ar pid . .It Fl q Renice .Nm @@ -271,6 +275,11 @@ Change the sorting order of the processes Values are the same as for the .Fl o flag, as detailed above. +.It p +Display a specific process (prompt for pid). +If the pid specified is simply +.Dq + , +then processes belonging to all users will be displayed. .It r Change the priority (the .Em nice ) |