Wireshark-users: [Wireshark-users] Stop cycling capture with tshark
Date Prev · Date Next · Thread Prev · Thread Next
From: Helge Kruse <Helge.Kruse@xxxxxxx>
Date: Thu, 9 Nov 2017 11:14:48 +0100
I have setup a stress test with a network device. After some hours or
days I experience a failure. The device still responds to ICMP echo
and similar but the protocol under test is not working anymore. I
would like to know what happend before and at the failure.

I use tshark to capture the traffic as

  tshark -w file.pcap -b filesize:100000 -b files:8 host 10.0.01

The test program at my Windows PC identfies the problem. But tshark
will continue and the files are overwritten after a period of time
because not all of the traffic stops.

How can I stop tshark from a different process?

Regards
Helge