You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
```shell
|
|
|
|
|
netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
**ESTABLISHED:指TCP连接已建立,双方可以进行方向数据传递**
|
|
|
|
|
**CLOSE_WAIT:这种状态的含义其实是表示在等待关闭
|
|
|
|
|
**TIME_WAIT:指连接已准备关闭**
|
|
|
|
|
|