Created
October 5, 2017 13:03
-
-
Save kacinskas/8f954c3e75fea9d4b4aa9da1295a8b66 to your computer and use it in GitHub Desktop.
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
# net | |
tcpdump -nnn -s 0 -i eth0 -A '(tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504f5354)' | |
# sql | |
tcpdump port 3306 -s 65535 -x -n -q -tttt > /root/tcpdump.out | |
pt-query-digest --type=tcpdump /root/tcpdump.out | less |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment