tshark

tshark 是wireshark的命令行工具. (wireshark还附带有capinfos等命令)