TRPT(8N) COMMAND REFERENCE TRPT(8N)
NAME
trpt - transliterate protocol trace
SYNOPSIS
trpt [ -a ] [ -s ] [ -t ] [ -j ] [ -p hex-address ] [
system [ core ] ]
DESCRIPTION
Trpt interrogates the buffer of TCP trace records created
when a socket is marked for "debugging" (see getsockopt(2)),
and prints a readable description of these records. When no
options are supplied, trpt prints all the trace records
found in the system grouped according to TCP connection
protocol control block (PCB).
The recommended use of trpt is as follows. Isolate the
problem and enable debugging on the socket(s) involved in
the connection. Find the address of the protocol control
blocks associated with the sockets using the -A option to
netstat(1). Then run trpt with the -p option (see below),
supplying the associated protocol control block addresses.
If there are many sockets using the debugging option, the -j
option (see below) may be useful in checking to see if any
trace records are present for the socket in question.
If debugging is being performed on a system or core file
other than the default, the last two arguments may be used
to supplant the defaults.
OPTIONS
-s In addition to the normal output, print a detailed
description of the packet sequencing information.
-t In addition to the normal output, print the values for
all timers at each point in the trace.
-j Only give a list of the protocol control block
addresses for which there are trace records.
-p Show only trace records associated with the protocol
control block whose address follows.
-a In addition to the normal output, print the values of
the source and destination addresses for each packet
recorded.
FILES
/vmunix
/dev/kmem
DIAGNOSTICS
Prints ``no namelist'' when the system image doesn't contain
Printed 10/17/86 1
TRPT(8N) COMMAND REFERENCE TRPT(8N)
the proper symbols to find the trace buffer; prints other
messages which should be self explanatory.
CAVEATS
Should also print the data for each input or output, but
this is not saved in the trace record.
Knowledge of tcp(4n), ip(4n), and udp(4n) is helpful in
understanding the output formats of this utility.
SEE ALSO
getsockopt(2), netstat(1).
Printed 10/17/86 2
%%index%%
na:72,71;
sy:143,225;
de:368,1327;
op:1695,719;
fi:2414,91;
di:2505,144;2793,112;
ca:2905,302;
se:3207,161;
%%index%%000000000141