107 lines
2.3 KiB
HTML
107 lines
2.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of RTACCT</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>RTACCT</H1>
|
|
Section: Maintenance Commands (8)<BR>Updated: 27 June, 2007<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
nstat, rtacct - network statistics tools.
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
Usage: nstat [ -h?vVzrnasd:t:jp ] [ PATTERN [ PATTERN ] ]
|
|
<BR>
|
|
|
|
Usage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ]
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>nstat</B>
|
|
|
|
and
|
|
<B>rtacct</B>
|
|
|
|
are simple tools to monitor kernel snmp counters and network interface statistics.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<B>-h, --help</B>
|
|
|
|
Print help
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-V, --version</B>
|
|
|
|
<DD>
|
|
Print version
|
|
<DT id="2"><B>-z, --zeros</B>
|
|
|
|
<DD>
|
|
Dump zero counters too. By default they are not shown.
|
|
<DT id="3"><B>-r, --reset</B>
|
|
|
|
<DD>
|
|
Reset history.
|
|
<DT id="4"><B>-n, --nooutput</B>
|
|
|
|
<DD>
|
|
Do not display anything, only update history.
|
|
<DT id="5"><B>-a, --ignore</B>
|
|
|
|
<DD>
|
|
Dump absolute values of counters. The default is to calculate increments since the previous use.
|
|
<DT id="6"><B>-s, --noupdate</B>
|
|
|
|
<DD>
|
|
Do not update history, so that the next time you will see counters including values accumulated to the moment of this measurement too.
|
|
<DT id="7"><B>-j, --json</B>
|
|
|
|
<DD>
|
|
Display results in JSON format.
|
|
<DT id="8"><B>-p, --pretty</B>
|
|
|
|
<DD>
|
|
When combined with
|
|
<B>--json</B>,
|
|
|
|
pretty print the output.
|
|
<DT id="9"><B>-d, --scan <INTERVAL></B>
|
|
|
|
<DD>
|
|
Run in daemon mode collecting statistics. <INTERVAL> is interval between measurements in seconds.
|
|
<DT id="10"><B>-t, --interval <INTERVAL></B>
|
|
|
|
<DD>
|
|
Time interval to average rates. Default value is 60 seconds.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?8+lnstat">lnstat</A>(8)
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="14"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="15"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:15 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|