Date: Sat, 23 May 2009 17:04:52 +0100 From: Frank Shute <frank@shute.org.uk> To: Yavuz Ma?lak <yavuz.maslak@netiletisim.net> Cc: freebsd-questions@freebsd.org Subject: Re: how to rotate a tcpdump file Message-ID: <20090523160452.GA71919@melon.esperance-linux.co.uk> In-Reply-To: <852FCD4FD0834115930F3DB05ADB7F3C@desktop2002> References: <852FCD4FD0834115930F3DB05ADB7F3C@desktop2002>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: > > I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. > > Which command should I use ? > You should be able to set up newsyslog(8) to rotate the dumps. You want to have a look at newsyslog.conf(5) to craft a line to put in your conf file. There are examples to work from in the conf file already. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090523160452.GA71919>