---
name: "nstat"
section: "8"
platform: "linux"
package: "iproute2"
version: "7.3.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/rtacct"
---

# nstat(8)

network statistics tools

Part of [rtacct(8)](/rtacct/8.md).

## NAME

nstat, rtacct - network statistics tools

## SYNOPSIS

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

## DESCRIPTION

**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.

## SEE ALSO

[lnstat(8)](/lnstat/8.md)
