Linux:tcpdump 通过yum install tcpdump来安装,默认会安装。 Hpux:nettl 1.nettl -start 2.nettl -tn all -e ns_ls_ip -tracemax 99999 -n 10 -f nettlls 3.启动程序。 4.需要的包采取了之后,nettl -tf -e all结束。 5.netfmt -N -n -l -1 -f /tmp/nettl_t* | more 查看结果。
windows可以安装wireshark来抓取,如果没有wireshark的话,使用netsh来抓取。
>netsh trace start capture=yes tracefile=E:\nettrace.etl >netsh trace stop
然后通过Message Analyzer可以转换成wireshark可读取的包。