Last active
August 5, 2022 19:12
-
-
Save wegotoeleven/4878547b317dc32d8f705318ddc27e76 to your computer and use it in GitHub Desktop.
Show open connections
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
# Show connections | |
netstat -tn 2>/dev/null | grep :8443 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head | |
# Show routing table | |
netstat -nr | |
# Show all connections | |
netstat -na |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment