Skip to content

Instantly share code, notes, and snippets.

@yvasiyarov
Created March 25, 2014 06:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yvasiyarov/9756346 to your computer and use it in GitHub Desktop.
Save yvasiyarov/9756346 to your computer and use it in GitHub Desktop.
Number of tcp ports in each state
netstat -tan | grep ':63790 ' | awk '{print $6}' | sort | uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment