ifstat - handy utility to read network interface statistics
ifstat [ OPTIONS ] [ INTERFACE_LIST ]
INTERFACE_LIST := INTERFACE_LIST | interface
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 /tmp/.<xstat name>_ifstat.u$UID.
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.
Show extended stats of TYPE. Supported types are:
cpu_hits - Counts only packets that went via the CPU.
If set, it’s value is interpreted as alternate history file path.
ifstat was written by Alexey Kuznetsov <email@example.com>.
This manual page was written by Petr Sabata <firstname.lastname@example.org>.