Sample Header Ad - 728x90

View extended stats for listening ports (using ss?)

0 votes
1 answer
309 views
With ss -tuiOp we can view extended stats for an outbound process, e.g.:
tcp           ESTAB         0              0                                192.168.68.108:32862                     52.86.220.33:https     
 users:(("chrome",pid=13907,fd=44)) cubic wscale:12,7 rto:292 rtt:91.131/1.147 ato:40 mss:1288 pmtu:1500 rcvmss:1288 advmss:1448 cwnd:10 bytes_sent:25761 bytes_retrans:108 bytes_acked:25654 bytes_received:136601 segs_out:1010 segs_in:630 data_segs_out:407 data_segs_in:522 send 1.13Mbps lastsnd:2184 lastrcv:2092 lastack:2092 pacing_rate 2.26Mbps delivery_rate 339kbps delivered:408 app_limited busy:36036ms retrans:0/2 dsack_dups:2 rcv_rtt:33522.9 rcv_space:67624 rcv_ssthresh:225644 minrtt:82.525
However, this isn't viewable for listening ports using ss -tuiOpl:
tcp         LISTEN       0            64                                                     *:sip                                  *:*           users:(("linphone",pid=13355,fd=39)) cubic cwnd:10
Is there a way to get similar stats for listening ports? I'm particularly interested in bytes_sent, bytes_received, lastrcv.
Asked by user717847 (125 rep)
Dec 20, 2021, 01:24 PM
Last activity: Dec 21, 2021, 11:06 AM