TRPT(8N) COMMAND REFERENCE TRPT(8N) NAME trpt - transliterate protocol trace SYNOPSIS trpt [ -a ] [ -s ] [ -t ] [ -j ] [ -p hex-address ] [ system [ core ] ] DESCRIPTION The trpt command 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 described here: 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(1n). Then run trpt with the -p option supplying the associated protocol control block addresses. If there are many sockets using the debugging option, the -j option 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 Give a list of only 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 4/6/89 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) and netstat(1n). Printed 4/6/89 2
%%index%% na:264,87; sy:351,313; de:664,1518; op:2182,776; fi:2958,111; di:3069,188;3593,112; ca:3705,330; se:4035,195; %%index%%000000000143