If you are capturing network traffic then switch to the current version of Wireshark .

This has command line tools such as tshark which will allow you to specify things like capture period, file size, file rotation and a whole host of other useful parameters