What is the meaning of TX-OK in output of netstat -i
by igadoter from LinuxQuestions.org on (#5103W)
There are commonly used three notions: packets received, packets sent and packets transmitted
Code:Every 1.0s: netstat -i darkstar: Fri Mar 20 12:27:34 2020
Kernel Interface table
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 0 0 0 0 0 0 0 0 BMU
lo 65536 258 0 0 0 258 0 0 0 LRU
wlan0 1500 3445 0 0 0 3673 0 0 0 BMRUThe questions is about difference between send and transmitted TX-OK packets. I compared to this
Code:Every 1.0s: netstat -t darkstar: Fri Mar 20 12:34:42 2020
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 32 0 192.168.0.100:46734 os-157-249-177-12:https CLOSE_WAIT
tcp 32 0 192.168.0.100:46732 os-157-249-177-12:https CLOSE_WAIT
tcp 0 0 192.168.0.100:40800 edge-mqtt-shv-01-:https ESTABLISHED
tcp 16805 0 192.168.0.100:44692 ice4.somafm.com:http ESTABLISHEDbut as I understand this reports zero send (Send-Q is zero) bytes. Yet value of TX-OK is constantly changing so these are not send packets. Am I right? So what are these transmitted packets TX-OK?


Code:Every 1.0s: netstat -i darkstar: Fri Mar 20 12:27:34 2020
Kernel Interface table
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 0 0 0 0 0 0 0 0 BMU
lo 65536 258 0 0 0 258 0 0 0 LRU
wlan0 1500 3445 0 0 0 3673 0 0 0 BMRUThe questions is about difference between send and transmitted TX-OK packets. I compared to this
Code:Every 1.0s: netstat -t darkstar: Fri Mar 20 12:34:42 2020
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 32 0 192.168.0.100:46734 os-157-249-177-12:https CLOSE_WAIT
tcp 32 0 192.168.0.100:46732 os-157-249-177-12:https CLOSE_WAIT
tcp 0 0 192.168.0.100:40800 edge-mqtt-shv-01-:https ESTABLISHED
tcp 16805 0 192.168.0.100:44692 ice4.somafm.com:http ESTABLISHEDbut as I understand this reports zero send (Send-Q is zero) bytes. Yet value of TX-OK is constantly changing so these are not send packets. Am I right? So what are these transmitted packets TX-OK?