[netflow-tools] any missing records when rotating?

Damien Miller djm at mindrot.org
Fri Aug 4 08:01:47 EST 2006


On Fri, 4 Aug 2006, Humphrey Widjaja wrote:

> Hi ...
> 
> I want to rotate flow records.
> 
> Is there any missing flow records between process of renaming flow data file
> (e.g. to flowd.yymmdd) and sendin a SIGUSR1 to flowd?

No records will be lost so long as the operation to move the flowd log
to its new name (e.g. flowd.yymmdd) is a simple rename() and not a move
between filesystems. Flow records will be sent to the existing (renamed)
file for the period after the file has been renamed but before the
SIGUSR1 is received.

-d




More information about the netflow-tools mailing list