Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ trpt(8N) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getsockopt(2)

netstat(1)



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 5/12/88                                                 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(1).











































Printed 5/12/88                                                 2





































































%%index%%
na:264,87;
sy:351,313;
de:664,1459;
op:2123,776;
fi:2899,111;
di:3010,188;3534,112;
ca:3646,330;
se:3976,192;
%%index%%000000000143

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026