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