Last active
October 24, 2017 13:03
-
-
Save justdoit0823/f347b5d5a849592ec8999ce9c296d0d9 to your computer and use it in GitHub Desktop.
Diagnose network connection.
This file contains hidden or 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
# list tcp connection whose packet hasn't been acknowledged | |
ss -tnp|awk '$3 > 0 {print $3, $4, $5, $6, $7}' | |
# list tcp connection hasn't read received packet | |
ss -tnp|awk '$2 > 0 {print $3, $4, $5, $6, $7}' | |
# show timer info about tcp connection | |
ss -tnpo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment