Tshark

Traffic statistics

tshark -ieth1 -nqzio,stat,10
tshark -ieth1 -nqzio,stat,1,ip,tcp,icmp
tshark -ieth1 -nqzio,phs

Capture mysql queries

tshark -i any -T fields -R mysql.query -e mysql.query | grep whatever
tshark -i any -T fields -Y mysql.query -e mysql.query | grep whatever
tshark -i any -T fields -e mysql.query
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License