Monthly Archive for February, 2009
[root@rhnbmime hac]# ./tcp-kill-dump.sh
[ 10 ]
[root@rhnbmime hac]# cat tcp-kill-dump.sh
tcpdump -i eth0 dst net 239.255.0.0 mask 255.255.0.0 -w /tmp/test_1_tcpdump 2>/tmp/test_1_stderr >/tmp/test_1_stdout &
TCPPID=$!
sleep 10
kill -s SIGTERM $TCPPID
## output no of packets!
LINE=`grep "packets captured" /tmp/test_1_stderr`
ZAHL=`echo $LINE | cut -d" " -f1`
echo "[ "$ZAHL" ]"
Screeningversion mit anschließender Gesprächsrunde
Film fand ich gut und witzig: 7,5/10

Recent Comments