Hi Vadim, Thanks for responding so quickly. The problem appears about after an hour of running. It will work a few times but the process seems to hang up.
Here are the logs from nohup.out. cat nohup.out Can't set nice val to -20! Running! Hang up with ^C! Running! Hang up with ^C! Running! Hang up with ^C! Running! Hang up with ^C! On Thu, Aug 6, 2015 at 11:21 AM, Vadim Kochan <[email protected]> wrote: > On Thu, Aug 06, 2015 at 08:52:09AM -0400, Stefano Pirrello wrote: > > Hi, > > > > I'm trying to use netsniff-ng to run packet captures and save the pcaps > > with either a timed interval or with a file size for long term packet > > analysis. Either way I try the process appears to be hanging or freezing > > up as the captures won't continue to roll over into a new file. It works > > for a duration but will then fail. Any ideas on how to achieve this? > > > > Here's the way I launch netsniff-ng: > > > > sudo nohup netsniff-ng --in bond0 --out . --prefix NOR- --interval 15min > -s > > -H -f "net 10.17.192.0/18" & > > > > System info: > > Ubuntu 14.04.2 LTS > > > > $sudo netsniff-ng -v > > > > netsniff-ng 0.5.9+ (Cilonen), Git id: v0.5.9-1-g75162e7 > > the packet sniffing beast > > http://www.netsniff-ng.org > > > > -- > > You received this message because you are subscribed to the Google > Groups "netsniff-ng" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. > > Hi, > > I tried to test if at least 2 pcaps will be appeared in 1m-2m > intervals, and they appeared and I watched them by: > > $ ls -hl > > and I checked that their sizes are changing and new files appeared. > > Would you please provide some logs from nohup ? > > It should generate some output from netsniff-ng to nohup.out file. > > If I understood correctly you said that netsniff-ng hanged after 1st 15 > min ? > > Would you try it on different netsniff-ng versions ? > > Doesit work if do not use nohup and only in foreground mode ? > > Regards, > Vadim Kochan > > -- > You received this message because you are subscribed to the Google Groups > "netsniff-ng" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
