Dumpcap可通过捕获、过滤和分析网络流量帮助诊断故障,具体如下:
eth0
.pcap
dumpcap -i eth0 -w capture.pcap
-w -
dumpcap -i eth0 -w output.pcap 'tcp port 80'