3.0;tcpstat (tcp_status), revision 3.0, 86/11/18
TCPSTAT (TCP_STATUS) -- Display TCP status information.
usage: TCPSTAT [ -A | -C | -G | -H | -I | -M | -N | -S | -T | -X ]
FORMAT
TCPSTAT [option]
TCPSTAT displays network status of the local node.
OPTIONS
Only one option at a time may be specified on the command line.
-A Display connection, buffer management, and network
connection statistics. Equivalent to using the -C, -M, and
-S options together.
-C (D) Report status of each open connection.
-G Display information about the internal gateway table and
its local network.
-H Display host name and address information from the internal
host map table.
-I Display information about each physical interface or
interfaces.
-M Display buffer management statistics.
-N Display host internet addresses instead of host names when
used with other options.
-S Display miscellaneous network connection statistics.
-T Report detailed TCP-specific information for each TCP
connection.
EXAMPLES
$ tcpstat -c
MODE TCP STATE HOST/ROUTE FPRT LPRT TCB
T ESTAB video/mackinaw 0017 041a 035F5BBC
SB RB SA RA STAT IF
0 0 9140 9140 0001 dr0
$ tcpstat -g
LOCAL_NET -> FOREIGN_NET via LOCAL_ADDR TYPE
apollo-ring apollo-ether mackinaw routing
apollo-ring apollo-ether vail routing
apollo-ring shortcut peter_pan routing
apollo-ring hyper hyper1 routing
$ tcpstat -h
HOST STAT REF RFNM PCT MAPADDR
hobbit M 0 0 0 0.0.84.4b.0.0
bliss M 0 0 0 0.0.31.66.0.0
fourbits M 0 0 0 0.0.72.62.0.0
mackinaw GM 1 0 0 0.0.6.5c.0.0
astro M 0 0 0 0.0.1d.e6.0.0
$ tcpstat -i
UNIT ADDRESS STAT IPKTS OPKTS RSTS FLSH OERR IERR
dr0 192.9.10.96 AI 8782 149 0 0 0 0
lo0 127.0.0.1 AI 0 0 0 0 0 0
COLL MASK
0 255.255.255.0
0 255.0.0.0
$ tcpstat -m
pool size= 80 bufs= 112
pool size= 1520 bufs= 110
pool size= 9216 bufs= 112
$ tcpstat -n
MODE TCP STATE HOST/ROUTE FPRT LPRT TCB
T ESTAB 192.9.9.25/192.9 0017 041a 035F5BBC
SB RB SA RA STAT IF
0 0 9140 9140 0001 dr0
$ tcpstat -s
mem drops= 0 net drops=0 ip drops= 0 ip badsums= 0
tcp badsums= 0 tcp rejects= 0 tcp unacked= 0
icmp drops= 0 icmp badsums= 0 src quenches= 0 redirects= 0
icmp echoes= 0 time exceeded= 0 udp badsums= 0 udp drops= 8629
ip reroutes= 0 ip bounces= 0
$ tcpstat -t
TCB HOST FPRT LPRT TCP STATE RCV_NEXT SND_NEXT SND_UNA
035F5BBC video 0017 041a ESTAB 1FC0F43F 1FCA14FE 1FCA14FE
FLAGS WIND XT RT
110C8 9140 2 1