IP−TCP_METRICS - Online Linux Manual PageSection : 8
Updated : 23 Aug 2012
Source : iproute2
Note : Linux
NAMEip-tcp_metrics − management for TCP Metrics
SYNOPSISip [ OPTIONS ] tcp_metrics { COMMAND | help } ip tcp_metrics { show | flush"} SELECTOR ip tcp_metrics delete [ address ] ADDRESS SELECTOR := [ [ address ] PREFIX ]
DESCRIPTIONip tcp_metrics is used to manipulate entries in the kernel that keep TCP information for IPv4 and IPv6 destinations. The entries are created when TCP sockets want to share information for destinations and are stored in a cache keyed by the destination address. The saved information may include values for metrics (initially obtained from routes), recent TSVAL for TIME-WAIT recycling purposes, state for the Fast Open feature, etc. For performance reasons the cache can not grow above configured limit and the older entries are replaced with fresh information, sometimes reclaimed and used for new destinations. The kernel never removes entries, they can be flushed only with this tool.
ip tcp_metrics show - show cached entriesaddress PREFIX (default) IPv4/IPv6 prefix or address. If no prefix is provided all entries are shown. The output may contain the following information: age <S.MMM>sec - time after the entry was created, reset or updated with metrics from sockets. The entry is reset and refreshed on use with metrics from route if the metrics are not updated in last hour. Not all cached values reset the age on update. cwnd <N> - CWND metric value fo_cookie <HEX-STRING> - Cookie value received in SYN-ACK to be used by Fast Open for next SYNs fo_mss <N> - MSS value received in SYN-ACK to be used by Fast Open for next SYNs fo_syn_drops <N>/<S.MMM>sec ago - Number of drops of initial outgoing Fast Open SYNs with data detected by monitoring the received SYN-ACK after SYN retransmission. The seconds show the time after last SYN drop and together with the drop count can be used to disable Fast Open for some time. reordering <N> - Reordering metric value rtt <N>us - RTT metric value rttvar <N>us - RTTVAR metric value ssthresh <SSTHRESH> - SSTHRESH metric value tw_ts <TSVAL>/<SEC>sec ago - recent TSVAL and the seconds after saving it into TIME-WAIT socket
ip tcp_metrics delete - delete single entryaddress ADDRESS (default) IPv4/IPv6 address. The address is a required argument.
ip tcp_metrics flush - flush entriesThis command flushes the entries selected by some criteria. This command has the same arguments as show.
EXAMPLESip tcp_metrics show address 192.168.0.0/24 Shows the entries for destinations from subnet ip tcp_metrics show 192.168.0.0/24 The same but address keyword is optional ip tcp_metrics Show all is the default action ip tcp_metrics delete 192.168.0.1 Removes the entry for 192.168.0.1 from cache. ip tcp_metrics flush 192.168.0.0/24 Removes entries for destinations from subnet ip tcp_metrics flush all Removes all entries from cache ip -6 tcp_metrics flush all Removes all IPv6 entries from cache keeping the IPv4 entries.
SEE ALSO
ip(8)
AUTHOROriginal Manpage by Julian Anastasov <ja@ssi.bg> 0
Johanes Gumabo
Data Size : 11,833 byte
man-ip-tcp_metrics.8Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 190,335
Visitor ID : :
Visitor IP : 3.137.170.38 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.