...\" $Header: /usr/src/docbook-to-man/cmd/RCS/docbook-to-man.sh,v 1.3 1996/06/17 03:36:49 fld Exp $ ...\" ...\" transcript compatibility for postscript use. ...\" ...\" synopsis: .P! ...\" .de P! \\&. .fl \" force out current output buffer \\!%PB \\!/showpage{}def ...\" the following is from Ken Flowers -- it prevents dictionary overflows \\!/tempdict 200 dict def tempdict begin .fl \" prolog .sy cat \\$1\" bring in postscript file ...\" the following line matches the tempdict above \\!end % tempdict % \\!PE \\!. .sp \\$2u \" move below the image .. .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "\fBflow-expire\fP" "1" .SH "NAME" \fBflow-expire\fP \(em Manage storage of flow file archives by expiring old data\&. .SH "SYNOPSIS" .PP \fBflow-expire\fP [-h] [-d\fI debug_level\fP] [-e\fI expire_count\fP] [-E\fI expire_size\fP] -w\fI workdir\fP .SH "DESCRIPTION" .PP The \fBflow-expire\fP 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 \fBflow-expire\fP\&. \fBflow-expire\fP is typically used to manage storage in a distributed environment where flows are collected on a different server than they are archived\&. .SH "OPTIONS" .IP "-d\fI debug_level\fP" 10 Enable debugging\&. .IP "-e\fI expire_count\fP" 10 Retain the maximum number of files so that the total file count is less than \fIexpire_count\fP\&. .IP "-E\fI expire_size\fP" 10 Retain the maximum number of files so that the total storage is less than \fIexpire_size\fP\&. The letters b,K,M,G can be used as multipliers, ie 16 Megabytes is 16M\&. .IP "-h" 10 Display help\&. .IP "-w\fI workdir\fP" 10 Work in \fBworkdir\fP\&. .SH "EXAMPLES" .PP Remove the oldest flow files in \fB/flows/krc4\fP until the total storage is less then 2 Gigabytes\&. .PP \fBflow-expire -E2Gig -w /flows/krc4\fP .PP Remove the oldest flow files in \fB/flows/krc4\fP until the total number of files is less then 100\&. .PP \fBflow-expire -e100 -w /flows/krc4\fP .SH "BUGS" .PP Empty directories are not removed\&. .SH "AUTHOR" .PP Mark Fullmer maf@splintered\&.net .SH "SEE ALSO" .PP \fBflow-tools\fP(1) ...\" created by instant / docbook-to-man, Sat 08 Jun 2002, 23:41