Skip to content

Instantly share code, notes, and snippets.

@cmabastar
Created June 11, 2014 02:09
Show Gist options
  • Save cmabastar/509984d47e648c8dbebf to your computer and use it in GitHub Desktop.
Save cmabastar/509984d47e648c8dbebf to your computer and use it in GitHub Desktop.
AWS NAT instance traffic analyzer.
tcpdump -nr /tmp/dump.log | awk '{print $3"\t"$5}' | grep -v "ICMP" | sort | uniq -c | sort -nr | head -n 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment