⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flow-expire.html

📁 netflow,抓包
💻 HTML
字号:
<HTML><HEAD><TITLE>flow-expire</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.71"></HEAD><BODYCLASS="REFENTRY"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><H1><ANAME="AEN1"><SPANCLASS="APPLICATION">flow-expire</SPAN></A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN6"></A><H2>Name</H2><SPANCLASS="APPLICATION">flow-expire</SPAN>&nbsp;--&nbsp;Manage storage of flow file archives by expiring old data.</DIV><DIVCLASS="REFSYNOPSISDIV"><ANAME="AEN10"></A><H2>Synopsis</H2><P><BCLASS="COMMAND">flow-expire</B>  [-h] [-d<TTCLASS="REPLACEABLE"><I> debug_level</I></TT>] [-e<TTCLASS="REPLACEABLE"><I> expire_count</I></TT>] [-E<TTCLASS="REPLACEABLE"><I> expire_size</I></TT>] {-w<TTCLASS="REPLACEABLE"><I> workdir</I></TT>}</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN22"></A><H2>DESCRIPTION</H2><P>The <BCLASS="COMMAND">flow-expire</B> utility will remove the oldest flow filesin a directory based on either a count of files or space utilization.  Thedirectory is recursively searched for flow files.  Files that do not have aflow-tools signature will be ignored.  The internal timestamp is used sobackups or copies of the flow files that do not retain the originaltimestamp will not impact the operation of <BCLASS="COMMAND">flow-expire</B>. <BCLASS="COMMAND">flow-expire</B> is typically used to manage storage ina distributed environment where flows are collected on a differentserver than they are archived.</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN28"></A><H2>OPTIONS</H2><P></P><DIVCLASS="VARIABLELIST"><DL><DT>-d<TTCLASS="REPLACEABLE"><I> debug_level</I></TT></DT><DD><P>Enable debugging.</P></DD><DT>-e<TTCLASS="REPLACEABLE"><I> expire_count</I></TT></DT><DD><P>Retain the maximum number of files so that the total file count isless than <TTCLASS="REPLACEABLE"><I>expire_count</I></TT>.</P></DD><DT>-E<TTCLASS="REPLACEABLE"><I> expire_size</I></TT></DT><DD><P>Retain the maximum number of files so that the total storage is lessthan <TTCLASS="REPLACEABLE"><I>expire_size</I></TT>.  The letters b,K,M,G canbe used as multipliers, ie 16 Megabytes is 16M.</P></DD><DT>-h</DT><DD><P>Display help.</P></DD><DT>-w<TTCLASS="REPLACEABLE"><I> workdir</I></TT></DT><DD><P>Work in <TTCLASS="FILENAME">workdir</TT>.</P></DD></DL></DIV></DIV><DIVCLASS="REFSECT1"><ANAME="AEN58"></A><H2>EXAMPLES</H2><DIVCLASS="INFORMALEXAMPLE"><ANAME="AEN60"></A><P></P><P>Remove the oldest flow files in <TTCLASS="FILENAME">/flows/krc4</TT> untilthe total storage is less then 2 Gigabytes.</P><P>  <BCLASS="COMMAND">flow-expire -E2Gig -w /flows/krc4</B></P><P></P></DIV><DIVCLASS="INFORMALEXAMPLE"><ANAME="AEN65"></A><P></P><P>Remove the oldest flow files in <TTCLASS="FILENAME">/flows/krc4</TT> untilthe total number of files is less then 100.</P><P>  <BCLASS="COMMAND">flow-expire -e100 -w /flows/krc4</B></P><P></P></DIV></DIV><DIVCLASS="REFSECT1"><ANAME="AEN70"></A><H2>BUGS</H2><P>Empty directories are not removed.</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN73"></A><H2>AUTHOR</H2><P>Mark Fullmer<TTCLASS="EMAIL">&#60;<AHREF="mailto:maf@splintered.net">maf@splintered.net</A>&#62;</TT></P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN80"></A><H2>SEE ALSO</H2><P><SPANCLASS="APPLICATION">flow-tools</SPAN>(1)</P></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -