Created
September 14, 2016 12:13
-
-
Save ravibhure/786e932f5ac0754e498374b023e658a7 to your computer and use it in GitHub Desktop.
print number of sockets in different tcp state
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
sudo netstat -ant | awk '{print $6}' | tr ')' ' ' | sort | uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment