Browse Source

[trac930] remove description about removing statistics data by stats module
update example format in bindctl when show command of stats module is invoked

Naoki Kambe 14 years ago
parent
commit
c19a295eb4
2 changed files with 38 additions and 24 deletions
  1. 18 12
      doc/guide/bind10-guide.html
  2. 20 12
      doc/guide/bind10-guide.xml

+ 18 - 12
doc/guide/bind10-guide.html

@@ -664,24 +664,30 @@ This may be a temporary setting until then.
 
 
     </p><p>
     </p><p>
 
 
-       This stats daemon provides commands to identify if it is running,
-       show specified or all statistics data, set values, remove data,
-       and reset data.
+       This stats daemon provides commands to identify if it is
+       running, show specified or all statistics data, show specified
+       or all statistics data schema, and set specified statistics
+       data.
 
 
        For example, using <span class="command"><strong>bindctl</strong></span>:
        For example, using <span class="command"><strong>bindctl</strong></span>:
 
 
        </p><pre class="screen">
        </p><pre class="screen">
 &gt; <strong class="userinput"><code>Stats show</code></strong>
 &gt; <strong class="userinput"><code>Stats show</code></strong>
 {
 {
-    "auth.queries.tcp": 1749,
-    "auth.queries.udp": 867868,
-    "bind10.boot_time": "2011-01-20T16:59:03Z",
-    "report_time": "2011-01-20T17:04:06Z",
-    "stats.boot_time": "2011-01-20T16:59:05Z",
-    "stats.last_update_time": "2011-01-20T17:04:05Z",
-    "stats.lname": "4d3869d9_a@jreed.example.net",
-    "stats.start_time": "2011-01-20T16:59:05Z",
-    "stats.timestamp": 1295543046.823504
+    "Auth": {
+        "queries.tcp": 1749,
+        "queries.udp": 867868
+    },
+    "Boss": {
+        "boot_time": "2011-01-20T16:59:03Z"
+    },
+    "Stats": {
+        "boot_time": "2011-01-20T16:59:05Z",
+        "last_update_time": "2011-01-20T17:04:05Z",
+        "lname": "4d3869d9_a@jreed.example.net",
+        "report_time": "2011-01-20T17:04:06Z",
+        "timestamp": 1295543046.823504
+    }
 }
 }
        </pre><p>
        </pre><p>
     </p></div><div class="chapter" title="Chapter 14. Logging"><div class="titlepage"><div><div><h2 class="title"><a name="logging"></a>Chapter 14. Logging</h2></div></div></div><p>
     </p></div><div class="chapter" title="Chapter 14. Logging"><div class="titlepage"><div><div><h2 class="title"><a name="logging"></a>Chapter 14. Logging</h2></div></div></div><p>

+ 20 - 12
doc/guide/bind10-guide.xml

@@ -1453,24 +1453,32 @@ then change those defaults with config set Resolver/forward_addresses[0]/address
 
 
     <para>
     <para>
 
 
-       This stats daemon provides commands to identify if it is running,
-       show specified or all statistics data, set values, remove data,
-       and reset data.
+<!-- TODO -->
+       This stats daemon provides commands to identify if it is
+       running, show specified or all statistics data, show specified
+       or all statistics data schema, and set specified statistics
+       data.
 
 
        For example, using <command>bindctl</command>:
        For example, using <command>bindctl</command>:
 
 
+<!-- TODO -->
        <screen>
        <screen>
 &gt; <userinput>Stats show</userinput>
 &gt; <userinput>Stats show</userinput>
 {
 {
-    "auth.queries.tcp": 1749,
-    "auth.queries.udp": 867868,
-    "bind10.boot_time": "2011-01-20T16:59:03Z",
-    "report_time": "2011-01-20T17:04:06Z",
-    "stats.boot_time": "2011-01-20T16:59:05Z",
-    "stats.last_update_time": "2011-01-20T17:04:05Z",
-    "stats.lname": "4d3869d9_a@jreed.example.net",
-    "stats.start_time": "2011-01-20T16:59:05Z",
-    "stats.timestamp": 1295543046.823504
+    "Auth": {
+        "queries.tcp": 1749,
+        "queries.udp": 867868
+    },
+    "Boss": {
+        "boot_time": "2011-01-20T16:59:03Z"
+    },
+    "Stats": {
+        "boot_time": "2011-01-20T16:59:05Z",
+        "last_update_time": "2011-01-20T17:04:05Z",
+        "lname": "4d3869d9_a@jreed.example.net",
+        "report_time": "2011-01-20T17:04:06Z",
+        "timestamp": 1295543046.823504
+    }
 }
 }
        </screen>
        </screen>
     </para>
     </para>