summaryrefslogtreecommitdiff
path: root/debug/tcpdump
blob: 6a8aa9f409ff2a2124d985b095dbd00034c21bbb (plain) (blame)
1
2
3
#!/bin/bash
PORT=$(sockstat -n | grep segfault | tr -s ' ' | cut -d. -f5 | cut '-d ' -f1)
tcpdump -q -s0 -nXXi lo0 port $PORT