#!/bin/sh # tcp_retries revision 2 (Feb 2012) # # TCP retransmission rate. Useful for network debugging. # # Required privileges: none # # OS: Linux with procfs # # Author: Artem Sheremet # #%# family=auto #%# capabilities=autoconf TCPSTAT=/proc/net/tcp case $1 in autoconf) [ -r $TCPSTAT -o -r ${TCPSTAT}6 ] && echo "yes" || echo "no" ;; config) cat <