BSD 4_3_Net_2 release
[unix-history] / usr / src / usr.sbin / implog / implog.8
index c5fbba8..994eeb0 100644 (file)
@@ -1,93 +1,98 @@
-.\" Copyright (c) 1983 The Regents of the University of California.
+.\" Copyright (c) 1983, 1991 The Regents of the University of California.
 .\" All rights reserved.
 .\"
 .\" All rights reserved.
 .\"
-.\" Redistribution and use in source and binary forms are permitted provided
-.\" that: (1) source distributions retain this entire copyright notice and
-.\" comment, and (2) distributions including binaries display the following
-.\" acknowledgement:  ``This product includes software developed by the
-.\" University of California, Berkeley and its contributors'' in the
-.\" documentation or other materials provided with the distribution and in
-.\" all advertising materials mentioning features or use of this software.
-.\" Neither the name of the University nor the names of its contributors may
-.\" be used to endorse or promote products derived from this software without
-.\" specific prior written permission.
-.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
-.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
 .\"
 .\"
-.\"    @(#)implog.8    6.6 (Berkeley) 6/24/90
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" 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.
 .\"
 .\"
-.TH IMPLOG 8 "June 24, 1990"
-.UC 5
-.SH NAME
-implog \- IMP log interpreter
-.SH SYNOPSIS
-.B implog
-[
-.B \-DFLcfr
-] [
-.B \-h
-.I host#
-] [
-.B \-i
-.I imp#
-] [
-.B \-l
-.I link
-] [
-.B \-t
-.I message-type
-]
-.SH DESCRIPTION
-.I Implog
+.\"     @(#)implog.8   6.7 (Berkeley) 3/16/91
+.\"
+.Dd March 16, 1991
+.Dt IMPLOG 8
+.Os BSD 4.2
+.Sh NAME
+.Nm implog
+.Nd
+.Tn IMP
+log interpreter
+.Sh SYNOPSIS
+.Nm implog
+.Op Fl DFLcfr
+.Op Fl h Ar host#
+.Op Fl i Ar imp#
+.Op Fl l Ar link
+.Op Fl t Ar message-type
+.Sh DESCRIPTION
+.Nm Implog
 is program which interprets the message log produced by
 is program which interprets the message log produced by
-.IR implogd (8).
-.PP
+.Xr implogd 8 .
+.Pp
 If no arguments are specified, 
 If no arguments are specified, 
-.I implog
+.Nm implog
 interprets and prints every message present in the message file.
 Options may be specified to force printing only a subset of the logged
 messages.
 interprets and prints every message present in the message file.
 Options may be specified to force printing only a subset of the logged
 messages.
-.TP
-.B \-D
+.Bl -tag -width Ds
+.It Fl D
 Do not show data messages. 
 Do not show data messages. 
-.TP
-.B \-F
+.It Fl F
 Follow the logging process in action.
 This flag causes
 Follow the logging process in action.
 This flag causes
-.I implog
+.Nm implog
 to check for, and display, new logged messages every 5 seconds.
 to check for, and display, new logged messages every 5 seconds.
-.TP
-.B \-L
+.It Fl L
 Show only those messages received on the link number of the
 IP protocol.
 Show only those messages received on the link number of the
 IP protocol.
-.TP
-.B \-c
+.It Fl c
 In addition to printing any data messages logged, show the
 contents of the data in hexadecimal bytes.
 In addition to printing any data messages logged, show the
 contents of the data in hexadecimal bytes.
-.TP
-.B \-f
+.It Fl f
 Follow the logging process in action as with
 Follow the logging process in action as with
-.B \-F ,
+.Fl F ,
 but print the current contents of the log file first.
 but print the current contents of the log file first.
-.TP
-.B \-h
+.It Fl h
 Show only those messages received from the specified host.
 (Usually specified in conjunction with an imp.)
 Show only those messages received from the specified host.
 (Usually specified in conjunction with an imp.)
-.TP
-.B \-i
+.It Fl i
 Show only those messages received from the specified imp.
 Show only those messages received from the specified imp.
-.TP
-.B \-l
+.It Fl l
 Show only those messages received on the specified ``link''.
 Show only those messages received on the specified ``link''.
-.TP
-.B \-r
+.It Fl r
 Print the raw imp leader, showing all fields,
 in addition to the formatted interpretation according to type.
 Print the raw imp leader, showing all fields,
 in addition to the formatted interpretation according to type.
-.TP
-.B \-t
+.It Fl t
 Show only those messages received of the specified message type.
 Show only those messages received of the specified message type.
-.SH "SEE ALSO"
-imp(4), implogd(8)
-.SH BUGS
+.Sh SEE ALSO
+.Xr imp 4 ,
+.Xr implogd 8
+.Sh BUGS
 Cannot specify multiple hosts, imps, etc.
 Cannot specify multiple hosts, imps, etc.
+.Sh HISTORY
+The
+.Nm
+command appeared in
+.Bx 4.2 .