Skip to content

Instantly share code, notes, and snippets.

@acreeger
Created November 20, 2013 01:36
counting connections and origins
netstat -an|grep 10.176.2.157:27017|awk '{print $5}'|awk -F: '{print $1}'|sort -n -t. -k1,1 -k2,2 -k3,3 -k4,4|uniq -c|sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment