1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML
><HEAD
><TITLE
>Detailed Interface Statistics</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
"><LINK
REL="HOME"
TITLE="IPTraf User's Manual"
HREF="manual.html"><LINK
REL="UP"
TITLE="Network Interface Statistics"
HREF="netstats.html"><LINK
REL="PREVIOUS"
TITLE="Network Interface Statistics"
HREF="netstats.html"><LINK
REL="NEXT"
TITLE="Statistical Breakdowns"
HREF="statbreakdowns.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>IPTraf User's Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="netstats.html"
><<< Previous</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Network Interface Statistics</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="statbreakdowns.html"
>Next >>></A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="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 <I
CLASS="EMPHASIS"
>General interface statistics</I
>
option, with additional details.
This facility provides the following information:</P
><P
></P
><UL
COMPACT="COMPACT"
><LI
STYLE="list-style-type: disc"
><P
> Total packet and byte counts</P
></LI
><LI
STYLE="list-style-type: disc"
><P
> IP packet and byte counts</P
></LI
><LI
STYLE="list-style-type: disc"
><P
> TCP packet and byte counts</P
></LI
><LI
STYLE="list-style-type: disc"
><P
> UDP packet and byte count</P
></LI
><LI
STYLE="list-style-type: disc"
><P
> ICMP packet and byte counts</P
></LI
><LI
STYLE="list-style-type: disc"
><P
> Other IP-type packet and byte counts</P
></LI
><LI
STYLE="list-style-type: disc"
><P
> Non-IP packet and byte counts</P
></LI
><LI
STYLE="list-style-type: disc"
><P
> Checksum error count</P
></LI
><LI
STYLE="list-style-type: disc"
><P
> Interface activity</P
></LI
><LI
STYLE="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
><DIV
CLASS="FIGURE"
><A
NAME="AEN1108"
></A
><P
><IMG
SRC="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 <I
CLASS="EMPHASIS"
>Statistical breakdowns.../By packet
size</I
> as described in <A
HREF="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
<I
CLASS="EMPHASIS"
>Activity mode</I
> configuration option.</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Note</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="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
<TT
CLASS="COMPUTEROUTPUT"
>-d</TT
> parameter and an interface
to monitor. For example,</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>iptraf -d eth0</PRE
></TD
></TR
></TABLE
><P
> starts the statistics for <TT
CLASS="FILENAME"
>eth0</TT
>. The interface must be specified, or
IPTraf will not start the facility.</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Note</B
></TH
></TR
><TR
><TD
> </TD
><TD
ALIGN="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 <A
HREF="filters.html"
>filters</A
>. See Chapter 7 for more information
on filters.</P
><P
> The figures are logged at regular intervals if logging is enabled. The
default log file name at the prompt is
<TT
CLASS="FILENAME"
>iface_stats_detailed-<TT
CLASS="REPLACEABLE"
><I
>iface</I
></TT
>.log</TT
>
where iface is the selected interface for this session (for example,
<TT
CLASS="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
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="netstats.html"
><<< Previous</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="manual.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="statbreakdowns.html"
>Next >>></A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Network Interface Statistics</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="netstats.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Statistical Breakdowns</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
|