| 1 |
.TH RTACCT 8 "27 June 2007" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
nstat, rtacct - network statistics tools |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
Usage: nstat [ -h?vVzrnasd:t:jp ] [ PATTERN [ PATTERN ] ] |
| 8 |
.br |
| 9 |
Usage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ] |
| 10 |
|
| 11 |
.SH DESCRIPTION |
| 12 |
.B nstat |
| 13 |
and |
| 14 |
.B rtacct |
| 15 |
are simple tools to monitor kernel SNMP counters and network interface statistics. |
| 16 |
|
| 17 |
.B nstat |
| 18 |
can filter kernel SNMP counters by name with one or several specified wildcards. Wildcards are case-insensitive and can include special symbols |
| 19 |
.B ? |
| 20 |
and |
| 21 |
.B * |
| 22 |
. |
| 23 |
|
| 24 |
.SH OPTIONS |
| 25 |
.B \-h, \-\-help |
| 26 |
Print help. |
| 27 |
.TP |
| 28 |
.B \-V, \-\-version |
| 29 |
Print version. |
| 30 |
.TP |
| 31 |
.B \-z, \-\-zeros |
| 32 |
Dump zero counters too. By default they are not shown. |
| 33 |
.TP |
| 34 |
.B \-r, \-\-reset |
| 35 |
Reset history. |
| 36 |
.TP |
| 37 |
.B \-n, \-\-nooutput |
| 38 |
Do not display anything, only update history. |
| 39 |
.TP |
| 40 |
.B \-a, \-\-ignore |
| 41 |
Dump absolute values of counters. The default is to calculate increments since the previous use. |
| 42 |
.TP |
| 43 |
.B \-s, \-\-noupdate |
| 44 |
Do not update history, so that the next time you will see counters including values accumulated up to this measurement. |
| 45 |
.TP |
| 46 |
.B \-j, \-\-json |
| 47 |
Display results in JSON format. |
| 48 |
.TP |
| 49 |
.B \-p, \-\-pretty |
| 50 |
When combined with |
| 51 |
.BR \-\-json , |
| 52 |
pretty print the output. |
| 53 |
.TP |
| 54 |
.B \-d, \-\-scan <INTERVAL> |
| 55 |
Run in daemon mode collecting statistics. <INTERVAL> is the interval between measurements in seconds. |
| 56 |
.TP |
| 57 |
.B \-t, \-\-interval <INTERVAL> |
| 58 |
Time interval to average rates. Default value is 60 seconds. |
| 59 |
|
| 60 |
.SH SEE ALSO |
| 61 |
lnstat(8) |