Created
August 15, 2014 08:39
-
-
Save bveliqi/f28fc1c89a25485058c8 to your computer and use it in GitHub Desktop.
List and count number of connections to other machines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsof -i4 | grep -i ipv4 | grep -o -- '->.*' | sort | uniq -c | sort -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment