IFSTAT_HISTORY
If set, its value is interpreted as alternate history file path.
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.
-h, --help
Show summary of options.
-V, --version
Show version of program.
-a, --ignore
Ignore the history file.
-d, --scan=SECS
Sample statistics every SECS seconds.
-e, --errors
Show errors.
-n, --nooutput
Don't display any output. Update the history file only.
-r, --reset
Reset history.
-s, --noupdate
Don't update the history file.
-t, --interval=SECS
Report average over the last SECS seconds.
-z, --zeros
Show entries with zero activity.
-j, --json
Display results in JSON format
-p, --pretty
If combined with --json, pretty print the output.
-x, --extended=TYPE
Show extended stats of TYPE. Supported types are:
cpu_hits - Counts only packets that went via the CPU.
IFSTAT_HISTORY
If set, its value is interpreted as alternate history file path.
4 releases since Debian 2.0 (Hamm); the text changed 2 times.
--errors since Debian 10 (Buster);
--extended since Debian 10 (Buster);
--help since Debian 10 (Buster);
--ignore since Debian 10 (Buster);
--interval since Debian 10 (Buster);
--json since Debian 10 (Buster);
--nooutput since Debian 10 (Buster);
--noupdate since Debian 10 (Buster);
--pretty since Debian 10 (Buster);
--reset since Debian 10 (Buster);
--scan since Debian 10 (Buster);
--version since Debian 10 (Buster);
--zeros since Debian 10 (Buster);
-V since Debian 10 (Buster);
-a since Debian 10 (Buster);
-d since Debian 10 (Buster);
-e since Debian 10 (Buster);
-j since Debian 10 (Buster);
-n since Debian 10 (Buster);
-p since Debian 10 (Buster);
-r since Debian 10 (Buster);
-s since Debian 10 (Buster);
-t since Debian 10 (Buster);
-z since Debian 10 (Buster).
-I until Debian 2.1 (Slink).