2001-01-02  mfr <> fy <>

    * Added SIGUSR1 handler, Snort will dump packet stats to console/syslog


We haven’t removed it, it’s too important for us. If you have snort output running to syslog or being piped somewhere, then that would be where to look.


From: John Byrne <>
Date: Saturday, October 13, 2018 at 2:23 PM
To: Assaf <>
Cc: "Carter Waxman (cwaxman)" <>, "" <>
Subject: Re: [Snort-users] Monitor progress and ETA while running snort


I’m assuming this doesn’t work for snort v2.9.11.1?  It doesn’t work for me. But it seems the snort 3 manual has this.


Do you know when this was added?




John Byrne

On Oct 12, 2018, at 6:49 AM, Assaf via Snort-users <> wrote:


Thanks! I didn't knew about the USR1 trick.

On Thu, Oct 11, 2018, 15:51 Carter Waxman (cwaxman) <> wrote:

kill –USR1 (snort pid) and snort will dump stats to stdout. See “Packet I/O Totals” for packets read so far.

--pcap-list will run a batch of pcaps, but be aware that Snort resets between each pcap so you would probably still need to do your merge.


From: Snort-users <> on behalf of Assaf via Snort-users <>
Reply-To: Assaf <>
Date: Thursday, October 11, 2018 at 12:56 AM
To: "" <>
Subject: [Snort-users] Monitor progress and ETA while running snort


Hi, I just wanted to share how I monitor progress and ETA while running snort from a pcap file.


If I have only one pcap I use pipe viewer (the pv command) like this:


pv x.pcap | snort -r -


If I have more than one pcap, e.g. from a big tcpdump run, I merge all of them on the fly using joincap ( ) like this:


joincap *.pcap | pv -s $(du -bc *.pcap | awk '/total/{print $1}') | snort -r -


This way pv print progress and ETA information while snort is running. :-)


Shameless plug - I wrote joincap specifically for these kind of situations, because mergecap and tcpslice does not handle errors very well. 

Snort-users mailing list
Go to this URL to change user options or unsubscribe:

To unsubscribe, send an email to:

Please visit to stay current on all the latest Snort news!

Please follow these rules: