diff options
author | charnier <charnier@FreeBSD.org> | 1998-05-15 06:30:58 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1998-05-15 06:30:58 +0000 |
commit | cf1a881890643db8396c6b430f309529fe461a01 (patch) | |
tree | 709d2a8061e8b93da2bdf730a891006cb218f19d /bin/ps | |
parent | 8a9755ceef4307bb15a25bc49167da719cfbc0fa (diff) | |
download | FreeBSD-src-cf1a881890643db8396c6b430f309529fe461a01.zip FreeBSD-src-cf1a881890643db8396c6b430f309529fe461a01.tar.gz |
Correct use of .Nm. Add rcsid.
Diffstat (limited to 'bin/ps')
-rw-r--r-- | bin/ps/fmt.c | 8 | ||||
-rw-r--r-- | bin/ps/nlist.c | 8 | ||||
-rw-r--r-- | bin/ps/print.c | 8 | ||||
-rw-r--r-- | bin/ps/ps.1 | 22 | ||||
-rw-r--r-- | bin/ps/ps.c | 8 |
5 files changed, 31 insertions, 23 deletions
diff --git a/bin/ps/fmt.c b/bin/ps/fmt.c index 132cc3d..2cb39bf 100644 --- a/bin/ps/fmt.c +++ b/bin/ps/fmt.c @@ -29,12 +29,14 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id: fmt.c,v 1.9 1997/02/22 14:05:00 peter Exp $ */ #ifndef lint -static char const sccsid[] = "@(#)fmt.c 8.4 (Berkeley) 4/15/94"; +#if 0 +static char sccsid[] = "@(#)fmt.c 8.4 (Berkeley) 4/15/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> diff --git a/bin/ps/nlist.c b/bin/ps/nlist.c index 049a6a2..46ade5d 100644 --- a/bin/ps/nlist.c +++ b/bin/ps/nlist.c @@ -29,12 +29,14 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id: nlist.c,v 1.8 1997/02/22 14:05:04 peter Exp $ */ #ifndef lint -static char const sccsid[] = "@(#)nlist.c 8.4 (Berkeley) 4/2/94"; +#if 0 +static char sccsid[] = "@(#)nlist.c 8.4 (Berkeley) 4/2/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> diff --git a/bin/ps/print.c b/bin/ps/print.c index f838652..5a6a07f 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -29,12 +29,14 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id: print.c,v 1.23 1997/08/03 08:28:36 peter Exp $ */ #ifndef lint -static char const sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94"; +#if 0 +static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index c550ae4..34a3c6d 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -30,16 +30,16 @@ .\" SUCH DAMAGE. .\" .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 -.\" $Id: ps.1,v 1.15 1997/12/05 07:35:31 dyson Exp $ +.\" $Id: ps.1,v 1.16 1998/02/18 22:49:58 dima Exp $ .\" .Dd April 18, 1994 .Dt PS 1 .Os BSD 4 .Sh NAME -.Nm \&ps +.Nm ps .Nd process status .Sh SYNOPSIS -.Nm \&ps +.Nm ps .Op Fl aCcefhjlmrSTuvwx .Op Fl M Ar core .Op Fl N Ar system @@ -52,7 +52,7 @@ .Nm ps .Op Fl L .Sh DESCRIPTION -.Nm \&Ps +.Nm Ps displays a header line followed by lines containing information about your processes that have controlling terminals. This information is sorted by controlling terminal, then by process @@ -105,13 +105,13 @@ and command. .It Fl M Extract values associated with the name list from the specified core instead of the default -.Dq Pa /dev/kmem . +.Pa /dev/kmem . .It Fl m Sort by memory usage, instead of by process .Tn ID . .It Fl N Extract the name list from the specified system instead of the default -.Dq Pa /kernel . +.Pa /kernel . .It Fl O Add the information associated with the space or comma separated list of keywords specified, after the process @@ -165,14 +165,14 @@ option. .It Fl W Extract swap information from the specified file instead of the default -.Dq Pa /dev/drum . +.Pa /dev/drum . .It Fl w Use 132 columns to display information, instead of the default which is your window size. If the .Fl w option is specified more than once, -.Nm \&ps +.Nm will use as many columns as necessary without regard for your window size. .It Fl x Display information about processes without controlling terminals. @@ -308,7 +308,7 @@ The process is being traced or debugged. .It tt An abbreviation for the pathname of the controlling terminal, if any. The abbreviation consists of the two letters following -.Dq Pa /dev/tty , +.Pa /dev/tty , or, for the console, ``co''. This is followed by a ``-'' if the process can no longer reach that controlling terminal (i.e., it has been revoked). @@ -323,7 +323,7 @@ When printing using the command keyword, a process that has exited and has a parent that has not yet waited for the process (in other words, a zombie) is listed as ``<defunct>'', and a process which is blocked while trying to exit is listed as ``<exiting>''. -.Nm \&Ps +.Nm Ps makes an educated guess as to the file name and arguments given when the process was created by examining memory or the swap area. The method is inherently somewhat unreliable and in any event a process @@ -502,6 +502,6 @@ the mount point of .Xr pstat 8 .Sh BUGS Since -.Nm \&ps +.Nm cannot run faster than the system and is run as any other scheduled process, the information it displays can never be exact. diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 2330ce2..092256a 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -29,8 +29,6 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id: ps.c,v 1.22 1997/12/05 07:33:40 dyson Exp $ */ #ifndef lint @@ -40,7 +38,11 @@ static char const copyright[] = #endif /* not lint */ #ifndef lint -static char const sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94"; +#if 0 +static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> |