IPTraf-ng User's Manual
Prev | Chapter 4. Network Interface Statistics | Next

# 4.2. Detailed Interface Statistics

The third menu option displays packet statistics for any selected interface. It provides basically the same information as the General interface statistics option, with additional details. This facility provides the following information:

- Total packet and byte counts

- IP packet and byte counts

- TCP packet and byte counts

- UDP packet and byte count

- ICMP packet and byte counts

- Other IP-type packet and byte counts

- Non-IP packet and byte counts

- Checksum error count

- Interface activity

- Broadcast packet and byte counts

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.

Figure 4-2. The detailed interface statistics screen

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.

This facility also displays incoming and outgoing counts and data rates.

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.

The rate indicators can be set to display kbits/s or kbytes/s with the Activity mode configuration option.

| Note
| 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.

The figures are logged at regular intervals if logging is enabled. The default log file name at the prompt is `iface_stats_detailed-`iface`.log` where iface is the selected interface for this session (for example, `iface_stats_detailed-eth0.log`).

If you wish to start this facility directly from the command line, you can specify the `-d` parameter and an interface to monitor. For example,

    iptraf-ng -d eth0

starts the statistics for `eth0`. The interface must be specified, or IPTraf-ng will not start the facility.

When started from the command line, the log filename and log interval can be specified with the `-L` and `-I` parameters respectively. See the Command-line Parameters section above for more information.

| Note
| 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.

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.

This facility's output is also affected by IPTraf-ng's filters. See Chapter 7 for more information on filters.

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).

Prev | Home | Next
Network Interface Statistics | Up | Statistical Breakdowns