On 28/09/11 15:17, fedora fedora wrote: > Hello, i am running nfsen 1.3.5 and am collecting huge amount of data > from our routers, the problem i am facing now is the keep growing up > disk partition, i cannot seem to get nfsen or nfcapd to automatically > remove old files (say anything older then 2w) > > i tried to use > > "nfexpire -d /nfdata -e 2w" > > but i keep getting eorror saying Directory not empty.
Use nfexpire to set the limits on a directory e.g. to limit to 100G: nfexpire -d /data -u -s 100G ...or to 1 week: nfexpire -d /data -u -t 1w ...then nfcapd will "just work"; it reads the ".nfstat" in the target directory and applies the limit. It's advisable to have "nfexpire -r /data" in a daily cron job, in case the stats get out of sync. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Nfdump-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfdump-discuss
