linux tcp keepalive,[20170504]Linux TCP keepalive timers.txt
[20170504]Linux TCP keepalive timers.txt
--//上午仔細看一些文檔,發現實際上netstat命令就有輸出,參數--timer或者-o參數.
# netstat -otun
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address?????????????? Foreign Address???????????? State?????? Timer
tcp??????? 0????? 0 192.168.100.78:60479??????? 192.168.100.78:1521???????? ESTABLISHED off (0.00/0/0)
tcp??????? 0??? 224 192.168.100.78:22?????????? 192.168.101.6:50855???????? ESTABLISHED on (0.38/0/0)
tcp??????? 0????? 0 192.168.100.78:1521???????? 192.168.100.78:60479??????? ESTABLISHED keepalive (5864.73/0/0)
tcp??????? 0????? 0 192.168.100.78:22?????????? 192.168.101.6:50817???????? ESTABLISHED keepalive (115.84/0/0)
The interpretation of field is, first field = timer countdown value, second field = no. of retransmissions, third field
= number of keepalive probes sent.
--//參數1記數到0發出請求檢查網絡.
總結
以上是生活随笔為你收集整理的linux tcp keepalive,[20170504]Linux TCP keepalive timers.txt的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux i o的使用情况,Linux
- 下一篇: 编写c语言程序 斐波那契,请编写一个函数