add -f
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Tue, 27 May 1986 11:41:55 +0000 (03:41 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Tue, 27 May 1986 11:41:55 +0000 (03:41 -0800)
SCCS-vsn: usr.sbin/trpt/trpt.8 6.2

usr/src/usr.sbin/trpt/trpt.8

index e53a30c..63f06fa 100644 (file)
@@ -2,7 +2,7 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)trpt.8      6.1 (Berkeley) %G%
+.\"    @(#)trpt.8      6.2 (Berkeley) %G%
 .\"
 .TH TRPT 8C ""
 .UC 5
 .\"
 .TH TRPT 8C ""
 .UC 5
@@ -17,6 +17,8 @@ trpt \- transliterate protocol trace
 ]  [
 .B \-t
 ] [
 ]  [
 .B \-t
 ] [
+.B \-f
+] [
 .B \-j
 ] [
 .B \-p
 .B \-j
 ] [
 .B \-p
@@ -35,28 +37,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 +79,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 +99,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)
+setsockopt(2), netstat(1), trsp(8C)
 .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;