GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
flow-expire(1) FreeBSD General Commands Manual flow-expire(1)

flow-expire — Manage storage of flow file archives by expiring old data.

flow-expire [-h] [-d debug_level] [-e expire_count] [-E expire_size] -w workdir

The flow-expire utility will remove the oldest flow files in a directory based on either a count of files or space utilization. The directory is recursively searched for flow files. Files that do not have a flow-tools signature will be ignored. The internal timestamp is used so backups or copies of the flow files that do not retain the original timestamp will not impact the operation of flow-expire. flow-expire is typically used to manage storage in a distributed environment where flows are collected on a different server than they are archived.

Enable debugging.
Retain the maximum number of files so that the total file count is less than expire_count.
Retain the maximum number of files so that the total storage is less than expire_size. The letters b,K,M,G can be used as multipliers, ie 16 Megabytes is 16M.
Display help.
Work in workdir.

Remove the oldest flow files in /flows/krc4 until the total storage is less then 2 Gigabytes.


flow-expire -E2Gig -w /flows/krc4

Remove the oldest flow files in /flows/krc4 until the total number of files is less then 100.


flow-expire -e100 -w /flows/krc4

Empty directories are not removed.

Mark Fullmer maf@splintered.net

flow-tools(1)


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.