|
@@ -20,7 +20,7 @@
|
|
|
<refentry>
|
|
|
|
|
|
<refentryinfo>
|
|
|
- <date>Oct 15, 2010</date>
|
|
|
+ <date>August 11, 2011</date>
|
|
|
</refentryinfo>
|
|
|
|
|
|
<refmeta>
|
|
@@ -67,6 +67,7 @@
|
|
|
it. <command>b10-stats</command> invokes "sendstats" command
|
|
|
for <command>bind10</command> after its initial starting because it's
|
|
|
sure to collect statistics data from <command>bind10</command>.
|
|
|
+<!-- TODO: reword that last sentence? -->
|
|
|
</para>
|
|
|
</refsect1>
|
|
|
|
|
@@ -87,6 +88,94 @@
|
|
|
</refsect1>
|
|
|
|
|
|
<refsect1>
|
|
|
+ <title>DEFAULT STATISTICS</title>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ The <command>b10-stats</command> daemon contains
|
|
|
+ built-in statistics:
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <variablelist>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term>report_time</term>
|
|
|
+<!-- TODO: why not named stats.report_time? -->
|
|
|
+ <listitem><simpara>The latest report date and time in
|
|
|
+ ISO 8601 format.</simpara></listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+ <varlistentry>
|
|
|
+ <term>stats.timestamp</term>
|
|
|
+ <listitem><simpara>The current date and time represented in
|
|
|
+ seconds since UNIX epoch (1970-01-01T0 0:00:00Z) with
|
|
|
+ precision (delimited with a period) up to
|
|
|
+ one hundred thousandth of second.</simpara></listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
+<!-- TODO: document
|
|
|
+ "stats.boot_time": "2011-08-11T15:23:56Z",
|
|
|
+when started
|
|
|
+ "stats.last_update_time": "2011-08-11T15:23:56Z",
|
|
|
+when stats module last received data from other component
|
|
|
+ "stats.lname": "4e43f40c_15@t1.m.reedmedia.net",
|
|
|
+name used for msgq command-control channel
|
|
|
+ "stats.start_time": "2011-08-11T15:23:56Z",
|
|
|
+when starts collecting data
|
|
|
+-->
|
|
|
+
|
|
|
+<!-- TODO: document auth.foo and bind10.foo in their corresponding manuals -->
|
|
|
+
|
|
|
+ </variablelist>
|
|
|
+
|
|
|
+ </refsect1>
|
|
|
+
|
|
|
+ <refsect1>
|
|
|
+ <title>CONFIGURATION AND COMMANDS</title>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ The <command>b10-stats</command> command does not have any
|
|
|
+ configurable settings.
|
|
|
+ </para>
|
|
|
+
|
|
|
+<!-- TODO: formating -->
|
|
|
+ <para>
|
|
|
+ The configuration commands are:
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <command>remove</command> removes the named statistics data.
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <command>reset</command>
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <command>set</command>
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <command>show</command> will send the statistics data
|
|
|
+ in JSON format.
|
|
|
+ By default, it outputs all the statistics data it has collected.
|
|
|
+ An optional item name may be specified to receive individual output.
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <command>shutdown</command> will shutdown the
|
|
|
+ <command>b10-stats</command> process.
|
|
|
+ (Note that the <command>bind10</command> parent may restart it.)
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <para>
|
|
|
+ <command>status</command> simply indicates that the daemon is
|
|
|
+ running.
|
|
|
+ </para>
|
|
|
+
|
|
|
+ </refsect1>
|
|
|
+
|
|
|
+
|
|
|
+ <refsect1>
|
|
|
<title>FILES</title>
|
|
|
<para><filename>/usr/local/share/bind10-devel/stats.spec</filename>
|
|
|
<!--TODO: The filename should be computed from prefix-->
|
|
@@ -126,7 +215,7 @@
|
|
|
<title>HISTORY</title>
|
|
|
<para>
|
|
|
The <command>b10-stats</command> daemon was initially designed
|
|
|
- and implemented by Naoki Kambe of JPRS in Oct 2010.
|
|
|
+ and implemented by Naoki Kambe of JPRS in October 2010.
|
|
|
</para>
|
|
|
</refsect1>
|
|
|
</refentry><!--
|