The following table shows typical output for a TCP ESTABLISHED connection socket.
Sample Output | Description |
---|---|
TCP
|
TCP socket. |
7:1
|
Stack:socket id. |
lcl=192.168.1.2:50773
|
Local ip:port address. |
rmt=192.168.1.1:34875
|
Remote ip:port address. |
ESTABLISHED
|
Connection is ESTABLISHED. |
lock: 10000000 UNLOCKED
|
Internal socket lock status, as a hexadecimal number, followed by status names including:
|
rx_wake=0000b6f4(RQ)
|
Internal sequence value that is incremented each time a receive queue is ‘woken’.
|
tx_wake=00000002
|
Internal sequence value that is incremented each time a transmit queue is ‘woken’.
|
flags:
|
Flags (if any), including:
|
ul_poll:
|
User-level poll() : |
|
|
|
|
uid=0
|
User id that owns this socket. |
s_flags:
|
Socket flags, including:
|
rcvbuf=129940
|
Socket receive buffer size. |
sndbuf=131072
|
Socket send buffer size. |
bindtodev=-1(-1,0:0)
|
Device to which the socket is bound, given as an interface, or -1 if unbound. This is followed by an (interface index, hardware port:vlan) tuple. |
ttl=64
|
Initial TTL value. |
rcvtimeo_ms=0
|
Timeout value (microseconds) before an error is generated for receive functions, as set by SO_RCVTIMEO. |
sndtimeo_ms=0
|
Timeout value (microseconds) before an error is generated for send functions, as set by SO_SNDTIMEO. |
sigown=0
|
The PID receiving signals from this socket. |
cmsg=
|
Current message flags, including:
|
rx_errno=0
|
Zero whilst data can still arrive, otherwise contains error code. |
tx_errno=0
|
Zero if transmit can still happen, otherwise contains error code. |
so_error=0
|
Current socket error, or zero if no error. |
os_sock=0
|
0 if the socket is handled by Onload, 1 if the socket is handled by the OS and not by Onload. |
TX
|
Socket is being used for transmit. |
epoll3: ready_list_id 0
|
List of ready sockets from the epoll3 set. |
tcpflags: TSO WSCL SACK ESTAB
PASSIVE
|
TCP flags currently set for this socket, including:
|
local_peer: -1
|
The peer socket in a local loopback connection. |
snd:
|
Send data: |
|
|
|
|
|
|
snd:
|
Further send data: |
|
|
|
|
|
|
|
|
|
|
snd:
|
Further send data: |
|
|
|
|
|
|
|
|
|
|
snd:
|
Further send data: |
|
|
|
|
snd:
|
Further send data: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
snd:
|
Further send data: |
|
|
|
|
|
|
|
|
|
|
|
|
rcv:
|
Receiver data: |
|
|
|
|
|
|
|
|
rcv:
|
Further receiver data: |
|
|
|
|
|
|
|
|
rcv:
|
Further receiver data: |
|
|
|
|
|
|
|
|
|
|
eff_mss=1448
|
Effective maximum segment size. |
smss=1460
|
Sender maximum segment size. |
amss=1460
|
Advertised maximum segment size. |
used_bufs=2
|
Number of transmit buffers used. |
wscl
|
Window scaling: |
|
|
|
|
srtt=01
|
Smoothed round trip time (RTT), in milliseconds. |
rttvar=000
|
Round trip time (RTT) variation, in milliseconds. |
rto=189
|
Current RTO timeout value, in ticks. To convert ticks to milliseconds, multiply by |
zwins=0,0
|
Zero windows for probes,acks: times when advertised window has gone to zero size. |
curr_retrans=0
|
Current re-transmissions. |
total_retrans=0
|
Total re-transmissions. |
dupacks=0
|
Number of duplicate acks received. |
congrecover=0
|
Next sequence number to send when loss detected. |
rtos=0
|
Number of retrans timeouts. |
frecs=0
|
Number of fast recoveries. |
seqerr=0,0
|
Number of sequence errors. |
ooo_pkts=0
|
Number of out of sequence packets. |
ooo=0
|
Number of out of order events. |
tx:
|
Transmit data: |
|
|
|
|
|
|
|
|
tmpl:
|
Templated send data: |
|
|
|
|
|
|
timers:
|
Currently active timers: |
|
|