1FLOW-EXPIRE(1)                                                  FLOW-EXPIRE(1)
2
3
4

NAME

6       flow-expire  -  Manage  storage  of  flow file archives by expiring old
7       data.
8

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

24       -d debug_level
25              Enable debugging.
26
27       -e expire_count
28              Retain the maximum number of files so that the total file  count
29              is less than expire_count.
30
31       -E expire_size
32              Retain  the maximum number of files so that the total storage is
33              less than expire_size. The letters b,K,M,G can be used as multi‐
34              pliers, ie 16 Megabytes is 16M.
35
36       -h     Display help.
37
38       -w workdir
39              Work in workdir.
40

EXAMPLES

42       Remove  the oldest flow files in /flows/krc4 until the total storage is
43       less then 2 Gigabytes.
44
45       flow-expire -E2Gig -w /flows/krc4
46
47       Remove the oldest flow files in /flows/krc4 until the total  number  of
48       files is less then 100.
49
50       flow-expire -e100 -w /flows/krc4
51

BUGS

53       Empty directories are not removed.
54

AUTHOR

56       Mark Fullmer <maf@splintered.net>
57

SEE ALSO

59       flow-tools(1)
60
61
62
63                                11 Февраль 2009                 FLOW-EXPIRE(1)
Impressum