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

📄 detstats.html

📁 一个网络流量分析的完整的程序
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"><HTML><HEAD><TITLE>Detailed Interface Statistics</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.64"><LINKREL="HOME"TITLE="IPTraf User's Manual"HREF="manual.html"><LINKREL="UP"TITLE="Network Interface Statistics"HREF="netstats.html"><LINKREL="PREVIOUS"TITLE="Network Interface Statistics"HREF="netstats.html"><LINKREL="NEXT"TITLE="Statistical Breakdowns"HREF="statbreakdowns.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="netstats.html">&#60;&#60;&#60; Previous</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Network Interface Statistics</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="statbreakdowns.html">Next &#62;&#62;&#62;</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="DETSTATS">Detailed Interface Statistics</A></H1><P>  The third menu option displays packet statistics for any  selected interface. It provides basically the same information  as the <ICLASS="EMPHASIS">General interface statistics</I>   option, with additional details.  This facility provides the following information:</P><P></P><ULCOMPACT="COMPACT"><LISTYLE="list-style-type: disc"><P>   Total packet and byte counts</P></LI><LISTYLE="list-style-type: disc"><P>   IP packet and byte counts</P></LI><LISTYLE="list-style-type: disc"><P>   TCP packet and byte counts</P></LI><LISTYLE="list-style-type: disc"><P>   UDP packet and byte count</P></LI><LISTYLE="list-style-type: disc"><P>   ICMP packet and byte counts</P></LI><LISTYLE="list-style-type: disc"><P>   Other IP-type packet and byte counts</P></LI><LISTYLE="list-style-type: disc"><P>   Non-IP packet and byte counts</P></LI><LISTYLE="list-style-type: disc"><P>   Checksum error count</P></LI><LISTYLE="list-style-type: disc"><P>   Interface activity</P></LI><LISTYLE="list-style-type: disc"><P>    Broadcast packet and byte counts</P></LI></UL><P>  All IP byte counts (IP, TCP, UDP, ICMP, other IP) include IP header data  and payload. The data link header is not included. The full frame length  (including data-link header) is included in the non-IP and Total  byte count.  All data-link headers are also included in the Total byte  counts.</P><DIVCLASS="FIGURE"><ANAME="AEN1108"></A><P><IMGSRC="iptraf-dstat1.png"></P><P><B>Figure 2. The detailed interface statistics screen</B></P></DIV><P> The upper portion of the screen  contains the packet and byte counts for all IP and  non-IP packets intercepted on the interface. The lower portion  contains the total, incoming, and outgoing interface data rates.</P><P>  This facility also displays incoming and outgoing counts and data rates.  The packet size breakdown in versions prior to 2.0.0 has been moved  to its own facility under <ICLASS="EMPHASIS">Statistical breakdowns.../By packet  size</I> as described in <AHREF="statbreakdowns.html#PKTSIZE">Chapter 5</A>.</P><P>  An outgoing packet is one that exits your interface, regardless  of whether it originated from your machine or came  from another machine and was routed through yours. An incoming packet is  one that enters your interface, either addressed  to you directly, broadcast, multicast, or captured promiscuously.</P><P>  The rate indicators can be set to display kbits/s or kbytes/s with the  <ICLASS="EMPHASIS">Activity mode</I> configuration option.</P><DIVCLASS="NOTE"><P></P><TABLECLASS="NOTE"WIDTH="100%"BORDER="0"><TR><TDWIDTH="25"ALIGN="CENTER"VALIGN="TOP"><IMGSRC="./stylesheet-images/note.gif"HSPACE="5"ALT="Note"></TD><THALIGN="LEFT"VALIGN="CENTER"><B>Note</B></TH></TR><TR><TD>&nbsp;</TD><TDALIGN="LEFT"VALIGN="TOP"><P>  Buffering and some other factors may affect the data rates, notably  the outgoing rate, causing it to reflect a higher figure than the actual  rate at which the interface is sending.</P></TD></TR></TABLE></DIV><P>  If you wish to start this facility directly  from the command line, you can specify the<TTCLASS="COMPUTEROUTPUT">-d</TT> parameter and an interface  to monitor. For example,</P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="SYNOPSIS">iptraf -d eth0</PRE></TD></TR></TABLE><P>  starts the statistics for <TTCLASS="FILENAME">eth0</TT>. The interface must be specified, or  IPTraf will not start the facility.</P><DIVCLASS="NOTE"><P></P><TABLECLASS="NOTE"WIDTH="100%"BORDER="0"><TR><TDWIDTH="25"ALIGN="CENTER"VALIGN="TOP"><IMGSRC="./stylesheet-images/note.gif"HSPACE="5"ALT="Note"></TD><THALIGN="LEFT"VALIGN="CENTER"><B>Note</B></TH></TR><TR><TD>&nbsp;</TD><TDALIGN="LEFT"VALIGN="TOP"><P>  In both the general and detailed statistics screens, as well as  in the IP traffic monitor, the packet counts are for  actual network packets (layer 2), not the logical IP packets (layer 3)  that may be reconstructed after fragmentation. That means, if a  packet was fragmented into four pieces, and these four fragments pass  over your interface, the packet counts will indicate four separate  packets.  </P></TD></TR></TABLE></DIV><P>  The figure for the IP checksum errors is a packet count only, because the  corrupted IP header cannot be relied upon to give a correct IP  packet length value.</P><P> This facility's output is also affected by IPTraf's <AHREF="filters.html">filters</A>.  See Chapter 7 for more informationon filters.</P><P>  The figures are logged at regular intervals if logging is enabled. The  default log file name at the prompt is  <TTCLASS="FILENAME">iface_stats_detailed-<TTCLASS="REPLACEABLE"><I>iface</I></TT>.log</TT>  where iface is the selected interface for this session (for example,  <TTCLASS="FILENAME">iface_stats_detailed-eth0.log</TT>).</P><P>  Pressing X or Q takes you back to the main menu (if this  facility was started with the command-line option, X or Q drops you back  to the shell).</P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="netstats.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="statbreakdowns.html">Next &#62;&#62;&#62;</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Network Interface Statistics</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="netstats.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Statistical Breakdowns</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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