Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] tshark creates files in temp dir

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Thu, 6 Nov 2008 16:24:58 -0700
On Thu, Nov 06, 2008 at 04:01:40PM -0700, Al Aghili wrote:

> We're stopping it by killing the tshark process through a kill command 
> which I would think is not graceful. How do you recommend killing 
> tshark programmatically?

I assume you're using some sort of Unix?  In that case, SIGTERM (15), 
SIGINT (2) and SIGHUP (1) are caught and should result in a graceful 
shutdown of tshark.  A SIGKILL (9) is not catchable and forces tshark to 
quit immediately.  Which are you using?


Steve