共 19 篇文章 |
|
Client 消息 Server close()------ FIN ------->FIN_WAIT1 CLOSE_WAIT<----- ACK -------FIN_WAIT2 close()<------ FIN ------ TIME_WAIT LAST_ACK ------ ACK -------> CLOSEDCLOSED.而当对方回应ACK报文后,则进入到FIN_WAIT_2状态,当然在实际的正常情况下,无论对方何种情况下,都应该马上回应ACK报文,所以FIN_WAIT_1状态一... 阅32 转0 评0 公众公开 15-08-21 10:31 |
阅3279 转5 评0 公众公开 14-10-09 11:50 |
Linux网络流量实时监控ifstat iftop命令详解ifstat.1.66 5.3Mb 3.22Mb 3.20Mb <= 219kb 45.7kb 49.3kb192.168.195.69 0b 166b 69b <= 0b 0b 0b------------------------------------------------------------------------------------------------------TX: cum: 9.70MB peak: 15.6Mb rates: 15.4Mb 3.26Mb 3.23MbRX: 8.38MB 14.9Mb 11.5... 阅345 转1 评0 公众公开 14-02-07 17:08 |
# increase TCP max buffer size settable using setsockopt()net.core.rmem_max = 67108864 net.core.wmem_max = 67108864 # increase Linux autotuning TCP buffer limitnet.ipv4.tcp_rmem = 4096 87380 67108864net.ipv4.tcp_wmem = 4096 65536 67108864# increase the length of the processor input queuenet.core.netdev_max_backlog = 2... 阅7857 转39 评0 公众公开 13-04-22 18:47 |
Linux流量监控工具 - iftop.一、iftop是什么?TX:发送流量RX:接收流量TOTAL:总流量Cumm:运行iftop到目前时间的总流量peak:流量峰值rates:分别表示过去 2s 10s 40s 的平均流量2、iftop相关参数常用的参数。-F显示特定网段的进出流量,如# iftop -F 10.10.1.0/24或# iftop -F 10.10.1.0/255.255.255.0.-m设置界面最上边的刻度的最大值,刻... 阅132 转2 评0 公众公开 13-04-22 16:57 |
net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 1200 net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1 net.ipv4.ip_local_port_range = 1024 65000 net.ipv4.tcp_max_syn_backlog = 8192 net.ipv4.tcp_max_tw_buckets = 5000.net.ipv4.tcp_syncookies=1 net.ipv4.tcp_tw_reuse=1 net.ipv4.... 阅61 转2 评0 公众公开 13-04-19 09:37 |