install correct aliases file
[unix-history] / usr / src / usr.sbin / trpt / trpt.8
index fa508c4..4e3e845 100644 (file)
@@ -1,10 +1,21 @@
-.\" Copyright (c) 1983 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1983 The Regents of the University of California.
+.\" All rights reserved.
 .\"
 .\"
-.\"    @(#)trpt.8      5.1 (Berkeley) %G%
+.\" Redistribution and use in source and binary forms are permitted
+.\" provided that the above copyright notice and this paragraph are
+.\" duplicated in all such forms and that any documentation,
+.\" advertising materials, and other materials related to such
+.\" distribution and use acknowledge that the software was developed
+.\" by the University of California, Berkeley.  The name of the
+.\" University may not 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 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 .\"
 .\"
-.TH TRPT 8C "2 March 1983"
+.\"    @(#)trpt.8      6.3 (Berkeley) %G%
+.\"
+.TH TRPT 8 ""
 .UC 5
 .SH NAME
 trpt \- transliterate protocol trace
 .UC 5
 .SH NAME
 trpt \- transliterate protocol trace
@@ -17,6 +28,8 @@ trpt \- transliterate protocol trace
 ]  [
 .B \-t
 ] [
 ]  [
 .B \-t
 ] [
+.B \-f
+] [
 .B \-j
 ] [
 .B \-p
 .B \-j
 ] [
 .B \-p
@@ -35,28 +48,32 @@ grouped according to TCP connection protocol control
 block (PCB).  The following options may be used to
 alter this behavior.
 .TP
 block (PCB).  The following options may be used to
 alter this behavior.
 .TP
+.B \-a
+in addition to the normal output,
+print the values of the source and destination
+addresses for each packet recorded.
+.TP
 .B \-s
 in addition to the normal output,
 print a detailed description of the packet
 .B \-s
 in addition to the normal output,
 print a detailed description of the packet
-sequencing information,
+sequencing information.
 .TP
 .B \-t
 in addition to the normal output,
 print the values for all timers at each
 .TP
 .B \-t
 in addition to the normal output,
 print the values for all timers at each
-point in the trace,
+point in the trace.
+.TP
+.B \-f
+follow the trace as it occurs, waiting a short time for additional records
+each time the end of the log is reached.
 .TP
 .B \-j
 just give a list of the protocol control block
 .TP
 .B \-j
 just give a list of the protocol control block
-addresses for which there are trace records,
+addresses for which there are trace records.
 .TP
 .B \-p
 show only trace records associated with the protocol
 .TP
 .B \-p
 show only trace records associated with the protocol
-control block who's address follows,
-.TP
-.B \-a
-in addition to the normal output,
-print the values of the source and destination
-addresses for each packet recorded.
+control block, the address of which follows.
 .PP
 The recommended use of
 .I trpt
 .PP
 The recommended use of
 .I trpt
@@ -73,12 +90,17 @@ Then run
 with the
 .B \-p
 option, supplying the associated
 with the
 .B \-p
 option, supplying the associated
-protocol control block addresses.  If there are
+protocol control block addresses.
+The
+.B \-f
+option can be used to follow the trace log once the trace is located.
+If there are
 many sockets using the debugging option, the
 .B \-j
 option may be useful in checking to see if
 any trace records are present for the socket in
 question.
 many sockets using the debugging option, the
 .B \-j
 option may be useful in checking to see if
 any trace records are present for the socket in
 question.
+The
 .PP
 If debugging is being performed on a system or
 core file other than the default, the last two
 .PP
 If debugging is being performed on a system or
 core file other than the default, the last two
@@ -88,7 +110,7 @@ arguments may be used to supplant the defaults.
 .br
 /dev/kmem
 .SH "SEE ALSO"
 .br
 /dev/kmem
 .SH "SEE ALSO"
-setsockopt(2), netstat(1)
+netstat(1), setsockopt(2), trsp(8)
 .SH DIAGNOSTICS
 ``no namelist'' when the system image doesn't
 contain the proper symbols to find the trace buffer;
 .SH DIAGNOSTICS
 ``no namelist'' when the system image doesn't
 contain the proper symbols to find the trace buffer;