#!/bin/tcsh
# trace tcpdump file and plot a sample

./tcptrace -l -r -s -W -zxy -G -C --showrttdongles --dupack3_data trace.dmp
rm -f trace.dmp

rm -rf $1
mkdir $1
mv *.xpl $1
./xplot $1/a2b* &
