Perfectly right! - Peter
On 23.02.16 11:47, Robert Franklin wrote: > Hello, > > I'm a bit confused as the parameters for nfexpire and how they work > together... > > If we set an 'expire after X days' (-t) then data will be expired after that > period of time. > > If we set an 'maximum size X' (-s) then data will be expired when it reaches > that size. > > I assume these two run in OR mode so if EITHER are hit, files will be expired. > > > What I'm unsure about is the 'low water mark' (-w) option -- in the manpage, > it's described as "Set the water mark in % for expiring data. If a limit is > hit, files get expired down to this level in % of that limit. If not set, the > default is 95%." > > This sounds like no expiring happens until either the size or date is > exceeded and then files will be removed until whichever limit is hit is > reduced to 95% of it's value. > > In other words - if I set the maximum size to 100G and the water mark to 90% > then, assuming the maximum life limit hasn't been hit, then, once 100G has > been exceed, files will be removed until the total size is no more than 90G. > > Similarly, if I choose to keep data for 10 days, once the cache directory has > >10 days of files, it will be removed down to 9 days of files there. > > Is that right? > > - Bob > > -- Be nice to your netflow data. Use NfSen and nfdump :) ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Nfdump-discuss mailing list Nfdump-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfdump-discuss