Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

time limit for tshark capturing

I am using tshark to capture my network traffic and I want to limit the measurement time.

Tshark runs in a bash script to automatise the measurement, just like this:

tshark -i 1 -w test.pcap

Now I want to stop the measurement after X seconds. How can I do that?

time limit for tshark capturing

I am using tshark to capture my network traffic and I want to limit the measurement time.

Tshark runs in a bash script to automatise the measurement, just like this:

tshark -i 1 -w test.pcap

Now I want to stop the measurement after X seconds. seconds.

How can I do that?