Skip to content

Instantly share code, notes, and snippets.

@cdolek
Created July 14, 2015 03:42
Show Gist options
  • Save cdolek/944e8bef1b7477fa55ad to your computer and use it in GitHub Desktop.
Save cdolek/944e8bef1b7477fa55ad to your computer and use it in GitHub Desktop.
DDOS check
netstat -anp | grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment