rtacct(8)

rtacct8

Network statistics tools

Usage

Usage: nstat [-h?vVzrnasd:t:jp] [PATTERN [PATTERN]]

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

Overview

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 *

Options

-h, --help Print help.

-V, --version

Print version.

-z, --zeros

Dump zero counters too. By default they are not shown.

-r, --reset

Reset history.

-n, --nooutput

Do not display anything, only update history.

-a, --ignore

Dump absolute values of counters. The default is to calculate increments since the previous use.

-s, --noupdate

Do not update history, so that the next time you will see counters including values accumulated up to this measurement.

-j, --json

Display results in JSON format.

-p, --pretty

When combined with --json, pretty print the output.

-d, --scan <INTERVAL>

Run in daemon mode collecting statistics. <INTERVAL> is the interval between measurements in seconds.

-t, --interval <INTERVAL>

Time interval to average rates. Default value is 60 seconds.

Releases

12 releases since Debian 2.2 (Potato); the text changed 7 times.

  1. 2.2
  2. 3.0
  3. 5.0–7
  4. 8
  5. 9
  6. 10
  7. 11–13
  8. Arch

--ignore since Debian 8 (Jessie); --interval since Debian 8 (Jessie); --json since Debian 9 (Stretch); --nooutput since Debian 8 (Jessie); --noupdate since Debian 8 (Jessie); --pretty since Debian 10 (Buster); --reset since Debian 8 (Jessie); --scan since Debian 10 (Buster); --version since Debian 8 (Jessie); --zeros since Debian 10 (Buster); -V since Debian 5.0 (Lenny); -a since Debian 5.0 (Lenny); -d since Debian 5.0 (Lenny); -j since Debian 9 (Stretch); -n since Debian 5.0 (Lenny); -p since Debian 10 (Buster); -r since Debian 5.0 (Lenny); -s since Debian 5.0 (Lenny); -t since Debian 10 (Buster); -z since Debian 5.0 (Lenny).

--zero until Debian 9 (Stretch); -? until Debian 7 (Wheezy); -h until Debian 7 (Wheezy); -v until Debian 7 (Wheezy).

From iproute2 7.3.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.