Skip to content

Instantly share code, notes, and snippets.

@timusg
Last active December 17, 2015 02:49
Show Gist options
  • Save timusg/5539247 to your computer and use it in GitHub Desktop.
Save timusg/5539247 to your computer and use it in GitHub Desktop.
print number of sockets in different tcp state
netstat -ant | awk '{print $6}' | sort | uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment