Last active
May 26, 2022 12:11
-
-
Save look4regev/dd5b063bf367bd5c4d592b2ec8cd1a3d to your computer and use it in GitHub Desktop.
mongodb group by count on connections by source ip
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 -i -u mongod | grep "ESTABLISHED" | awk {'print $9 '} | cut -d":" -f 2| sort | uniq -c | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment