how to rotate a tcpdump file
Frank Shute
frank at shute.org.uk
Sat May 23 16:05:03 UTC 2009
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
More information about the freebsd-questions
mailing list