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:

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






Command Line Options:

-h
--help Print help
nstat -h ...
-z
Dump zero counters too. By default they are not shown.
nstat -z ...
-n
Do not display anything, only update history.
nstat -n ...
-a
Dump absolute values of counters. The default is to calculate increments since the previous use.
nstat -a ...
-s
Do not update history, so that the next time you will see counters including values accumulated to themoment of this measurement too.
nstat -s ...
-j
Display results in JSON format.
nstat -j ...
-d
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 ...