aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/trpt/trpt.8
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-10-22 06:23:12 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-10-22 06:23:12 +0000
commit9cc5d922949eebac9d75f2d45dd9132c3f83e79e (patch)
tree280d482f59a812a9865f93e6bcd91f252f57d601 /usr.sbin/trpt/trpt.8
parent06457d2f3298da566a49bc713ee88e40deb14ca1 (diff)
downloadsrc-9cc5d922949eebac9d75f2d45dd9132c3f83e79e.tar.gz
src-9cc5d922949eebac9d75f2d45dd9132c3f83e79e.zip
Use err(3). Add usage() and prototypes.
Hide reference to trsp(8) that does not exist.
Notes
Notes: svn path=/head/; revision=30643
Diffstat (limited to 'usr.sbin/trpt/trpt.8')
-rw-r--r--usr.sbin/trpt/trpt.815
1 files changed, 8 insertions, 7 deletions
diff --git a/usr.sbin/trpt/trpt.8 b/usr.sbin/trpt/trpt.8
index 609e529115fd..fbed94f8ef69 100644
--- a/usr.sbin/trpt/trpt.8
+++ b/usr.sbin/trpt/trpt.8
@@ -59,7 +59,7 @@ when a socket is marked for
.Xr setsockopt 2 ) ,
and prints a readable description of these records.
When no options are supplied,
-.Nm trpt
+.Nm
prints all the trace records found in the system
grouped according to
.Tn TCP
@@ -68,7 +68,7 @@ block
.Pq Tn PCB .
The following options may be used to
alter this behavior.
-.Bl -tag -width Ds
+.Bl -tag -width indent
.It Fl a
In addition to the normal output,
print the values of the source and destination
@@ -88,13 +88,13 @@ In addition to the normal output,
print a detailed description of the packet
sequencing information.
.It Fl t
-in addition to the normal output,
+In addition to the normal output,
print the values for all timers at each
point in the trace.
.El
.Pp
The recommended use of
-.Nm trpt
+.Nm
is as follows.
Isolate the problem and enable debugging on the
socket(s) involved in the connection.
@@ -104,7 +104,7 @@ associated with the sockets using the
option to
.Xr netstat 1 .
Then run
-.Nm trpt
+.Nm
with the
.Fl p
option, supplying the associated
@@ -129,8 +129,9 @@ arguments may be used to supplant the defaults.
.El
.Sh SEE ALSO
.Xr netstat 1 ,
-.Xr setsockopt 2 ,
-.Xr trsp 8
+.Xr setsockopt 2
+.\".Xr setsockopt 2 ,
+.\".Xr trsp 8
.Sh DIAGNOSTICS
.Bl -tag -width Ds
.It Sy no namelist