On Wed, Sep 26, 2007 at 11:48:39PM +0200, Gael Anguilet wrote:
> I am using wireshark Version 0.99.5 (SVN Rev 20677)
> I need to make a capture using tshark.
> I just want to generate a new capture file every 15 secondes, so I have written this :
> tshark -i 2 -b duration:15 -w test.cap
> It doesn't work. It generate this message :
> "tshark: Multiple capture files requested, but no maximum capture file size was specified."
> If I add the option "-b filesize:10" , the duration is not "used".
> So how can I start a Capture every 15 secondes in a Shell Script?
This has been reported as bug 1075 and was solved in SVN 20950.
You can upgrade to 0.99.6a or use any development build after 20950
to solve this issue :-)