Created
December 16, 2014 09:58
-
-
Save jonas8/7cb2f7c6ca1848212fee to your computer and use it in GitHub Desktop.
TCP连接数
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment