ifstat neatly prints out network interface statistics. The utility
keeps records of the previous data displayed in history files and by
default only shows difference between the last and the current call.
Location of the history files defaults to /tmp/.ifstat.u$UID but may
be overridden with the IFSTAT_HISTORY environment variable.
Similarly, the default location for xstat (extended stats) is
Show summary of options.
Show version of program.
Ignore the history file.
Sample statistics every SECS second.
Don't display any output. Update the history file only.
Don't update the history file.
Report average over the last SECS seconds.
Show entries with zero activity.
Display results in JSON format
If combined with --json, pretty print the output.
Show extended stats of TYPE. Supported types are:
cpu_hits - Counts only packets that went via the CPU.
This page is part of the iproute2 (utilities for controlling TCP/IP
networking and traffic) project. Information about the project can
be found at
If you have a bug report for this manual page, send it to
email@example.com, firstname.lastname@example.org. This page was obtained
from the project's upstream Git repository
2020-06-09. (At that time, the date of the most recent commit that
was found in the repository was 2020-06-05.) If you discover any
rendering problems in this HTML version of the page, or you believe
there is a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
iproute2 28 Oct 2015 IFSTAT(8)