summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a907374)
SCCS-vsn: usr.sbin/trpt/trpt.8 6.2
.\" 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%
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
.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.
+.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
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.
.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
.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;