#!/bin/bash
while [ 1 ]
do
tcpdump -i eth2 -w /dir/tcp.out/`hostname`-`date +%Y%m%d-%H:%M:%S`.pcap -c 90000
sleep 1
done
