instances.html

来自「一个很好用的linux 下的流量监控软件」· HTML 代码 · 共 201 行

HTML
201
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"><HTML><HEAD><TITLE>Instances and Logging</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.64"><LINKREL="HOME"TITLE="IPTraf User's Manual"HREF="manual.html"><LINKREL="UP"TITLE="Preparing to Use IPTraf"HREF="preparingtouse.html"><LINKREL="PREVIOUS"TITLE="Preparing to Use IPTraf"HREF="preparingtouse.html"><LINKREL="NEXT"TITLE="Screen Update Delays"HREF="updates.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">IPTraf User's Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="preparingtouse.html">&#60;&#60;&#60; Previous</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Preparing to Use IPTraf</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="updates.html">Next &#62;&#62;&#62;</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="INSTANCES">Instances and Logging</A></H1><P>  Since version 2.4, IPTraf allows multiple instances of the  facilities at the same time in different processes (for example, you can  now run two or more IP Traffic Monitors at the same time).  However only one can listen on a specific interface or all interfaces  at once. The only exception is the general interface  statistics, which is still restricted to only one instance at a time.</P><P>  Because of this relaxation, each instance now generates log files with  unique names for instances, depending on either their instance  or the interface they're listening on. If the <ICLASS="EMPHASIS">Logging</I> option is turned  on (see the <AHREF="config.html">Configuration</A> chapter), IPTraf  will prompt you for a log file name while presenting a  default. You may accept this default or change it. Press Enter  to accept, or Ctrl+X to cancel. Canceling will turn logging off for that  particular session.</P><P>  If you don't specify an absolute path, the log file will be placed  in <TTCLASS="FILENAME">/var/log/iptraf</TT>.</P><DIVCLASS="FIGURE"><ANAME="AEN419"></A><P><IMGSRC="iptraf-logprompt.png"></P><P><B>Figure 1. The logfile prompt dialog</B></P></DIV><P>  See the Logging sectionin the <AHREF="config.html">Configuration</A> chapter fordetailed information on logging. See also the documentation oneach statistical facility for the default log file names.</P><P>  The default log file names will also be usedif the <TTCLASS="COMPUTEROUTPUT">-B</TT> parameter is used  to run IPTraf in the background. You can override the defaults with the  <TTCLASS="COMPUTEROUTPUT">-L</TT> parameter. See<AHREF="backop.html">Background Operation</A> in Chapter 9.</P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="preparingtouse.html">&#60;&#60;&#60; Previous</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="manual.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="updates.html">Next &#62;&#62;&#62;</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Preparing to Use IPTraf</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="preparingtouse.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Screen Update Delays</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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