1. nettl -tn pduin -e ns_ls_ip -size 1024 -f /tmp/trace -tm 20000
//tn : trace on
//size : Set the size in kilobytes(KB) of the trace buffer used
to hold messages until they are written to the file
the default size for this buffer is 68KB.
//Example of LAN subsystem :
ns_ls_driver, ns_ls_loopback, ns_ls_ni, ns_ls_icmp,
ns_ls_netisr, ns_ls_tcp, ns_ls_igmp, ns_ls_nfs,
ns_ls_udp, ns_ls_ip, ns_ls_nft, ns_ls_x25
2. ping <ip_address>
3. nettl -tf -e all
//tf: trace off
//e: entity option
4. netfmt -f trace.TRC0 -N -l -c filter > trace.1
5. netfmt -f trace.TRC1 -N -l -c filter > trace.2
nettl command로 수집 후에 수집된 data를 text로 변환하기 위해 etfmt 명령을 사용
netfmt에 filter를 적용하여 원하는 IP, Port 만 볼수 있음.
댓글 없음:
댓글 쓰기