]> git.proxmox.com Git - mirror_iproute2.git/blob - man/man8/rtacct.8
ccdbf6ca75e57b64d6b7155caea1c2c1004869d9
[mirror_iproute2.git] / man / man8 / rtacct.8
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 .SH OPTIONS
18 .B \-h, \-\-help
19 Print help
20 .TP
21 .B \-V, \-\-version
22 Print version
23 .TP
24 .B \-z, \-\-zeros
25 Dump zero counters too. By default they are not shown.
26 .TP
27 .B \-r, \-\-reset
28 Reset history.
29 .TP
30 .B \-n, \-\-nooutput
31 Do not display anything, only update history.
32 .TP
33 .B \-a, \-\-ignore
34 Dump absolute values of counters. The default is to calculate increments since the previous use.
35 .TP
36 .B \-s, \-\-noupdate
37 Do not update history, so that the next time you will see counters including values accumulated to the moment of this measurement too.
38 .TP
39 .B \-j, \-\-json
40 Display results in JSON format.
41 .TP
42 .B \-p, \-\-pretty
43 When combined with
44 .BR \-\-json ,
45 pretty print the output.
46 .TP
47 .B \-d, \-\-scan <INTERVAL>
48 Run in daemon mode collecting statistics. <INTERVAL> is interval between measurements in seconds.
49 .TP
50 .B \-t, \-\-interval <INTERVAL>
51 Time interval to average rates. Default value is 60 seconds.
52
53 .SH SEE ALSO
54 lnstat(8)