Scroll to navigation

ETHSTATS(1) General Commands Manual ETHSTATS(1)

NAME

ethstatsquickly display statistics of network interfaces

SYNOPSIS

ethstats [-t] [-C | -M] [-c count] [-i iface] [-n period]

ethstats [-V | -h]

DESCRIPTION

The ethstats utility is a quick way to display network interface statistics. It periodically samples the byte and packet counters exported by the Linux kernel into the /proc/net/dev pseudo-file and outputs a line for each network interface on the system (except for the loopback) and a totals line. The data shown is the input and output rate in megabits per second and packets per second.

The ethstats utility accepts the following command-line options:

Highlight (color) the totals line in the output.
Exit after the specified number of samples.
Display program usage information and exit.
Specify a single network interface to monitor.
Do not highlight (monochrome) the totals line in the output.
Specify the polling interval in seconds (default: 10).
Prefix the totals line with the Unix timestamp.
Display program version information and exit.

ENVIRONMENT

The operation of the ethstats utility is not directly influenced by any environment variables.

FILES

The operation of the ethstats utility is not directly influenced by the contents of any files.

EXAMPLES

Continuously poll the system network interfaces on five-second intervals:

ethstats -n 5

Take four samples of the transfer rate of the wlan0 interface, ten seconds apart:

ethstats -c 4 -n 10 -i wlan0

DIAGNOSTICS

The ethstats utility exits 0 on success, and >0 if an error occurs.

SEE ALSO

netstat(8)

STANDARDS

No standards were harmed during the production of the ethstats utility.

HISTORY

This application was released from an unknown source via Drew Strieb. It is now maintained by Peter Pentchev.

A manual page was originally written by Scott Dier for the Debian project and then reworked by Peter Pentchev.

AUTHORS

Peter Pentchev ⟨roam@ringlet.net⟩
M. Drew Streib ⟨dtype@dtype.org⟩
Scott Dier ⟨sdier@debian.org⟩

BUGS

No, thank you :) But if you should actually find any, please report them to the author.

December 11, 2015 Debian