Linux "nstat" Command Line Options and Examples
network statistics tools.

nstat and rtacct are simple tools to monitor kernel snmp counters and network interface statistics..


Usage: nstat [ -h?vVzrnasd:t: ] [ PATTERN [ PATTERN ] ]
    Usage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ]

Command Line Options:

--help Print help
nstat -h ...
Dump zero counters too. By default they are not shown.
nstat -z ...
Do not display anything, only update history.
nstat -n ...
Dump absolute values of counters. The default is to calculate increments since the previous use.
nstat -a ...
Do not update history, so that the next time you will see counters including values accumulated to themoment of this measurement too.
nstat -s ...
Display results in JSON format.
nstat -j ...
Run in daemon mode collecting statistics. <INTERVAL> is interval between measurements in seconds.Time interval to average rates. Default value is 60 seconds.
nstat -d ...