nstat and rtacct are simple tools to monitor kernel snmp counters
and network interface statistics.
nstat can filter kernel snmp counters by name with one or several
specified wildcards. Wildcards are case-insensitive and can
include special symbols ? and *
-h, --help Print help
Dump zero counters too. By default they are not shown.
Do not display anything, only update history.
Dump absolute values of counters. The default is to
calculate increments since the previous use.
Do not update history, so that the next time you will see
counters including values accumulated to the moment of
this measurement too.
Display results in JSON format.
When combined with --json, pretty print the output.
-d, --scan <INTERVAL>
Run in daemon mode collecting statistics. <INTERVAL> is
interval between measurements in seconds.
-t, --interval <INTERVAL>
Time interval to average rates. Default value is 60
This page is part of the iproute2 (utilities for controlling
TCP/IP networking and traffic) project. Information about the
project can be found at
If you have a bug report for this manual page, send it to
firstname.lastname@example.org, email@example.com. This page was
obtained from the project's upstream Git repository
2021-04-01. (At that time, the date of the most recent commit
that was found in the repository was 2021-03-22.) If you
discover any rendering problems in this HTML version of the page,
or you believe there is a better or more up-to-date source for
the page, or you have corrections or improvements to the
information in this COLOPHON (which is not part of the original
manual page), send a mail to firstname.lastname@example.org
27 June, 2007 RTACCT(8)