4 * Generated by convertxsl.pl 1.14 2008/07/17 23:43:26 jinmei Exp
5 * From bind9.xsl 1.21 2009/01/27 23:47:54 tbox Exp
8 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
10 " - Copyright (C) 2006-2009 Internet Systems Consortium, Inc. (\"ISC\")\n"
12 " - Permission to use, copy, modify, and/or distribute this software for any\n"
13 " - purpose with or without fee is hereby granted, provided that the above\n"
14 " - copyright notice and this permission notice appear in all copies.\n"
16 " - THE SOFTWARE IS PROVIDED \"AS IS\" AND ISC DISCLAIMS ALL WARRANTIES WITH\n"
17 " - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n"
18 " - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,\n"
19 " - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n"
20 " - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n"
21 " - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n"
22 " - PERFORMANCE OF THIS SOFTWARE.\n"
25 "<!-- \045Id: bind9.xsl,v 1.21 2009/01/27 23:47:54 tbox Exp \045 -->\n"
27 "<xsl:stylesheet version=\"1.0\"\n"
28 " xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n"
29 " xmlns=\"http://www.w3.org/1999/xhtml\">\n"
30 " <xsl:template match=\"isc/bind/statistics\">\n"
33 " <style type=\"text/css\">\n"
35 " font-family: sans-serif;\n"
36 " background-color: #ffffff;\n"
41 " border-collapse: collapse;\n"
45 " text-align: center;\n"
46 " border: 1px solid #000000;\n"
47 " background-color: #8080ff;\n"
52 " text-align: right;\n"
53 " border: 1px solid #000000;\n"
54 " background-color: teal;\n"
59 " text-align: left;\n"
60 " border: 1px solid #000000;\n"
61 " background-color: teal;\n"
66 " padding-right: 5px;\n"
67 " padding-left: 5px;\n"
71 " background-color: teal;\n"
77 " background-color: #ffffff;\n"
89 " font-weight: bold;\n"
92 "div.statcounter h2 {\n"
93 " text-align: center;\n"
94 " font-size: large;\n"
95 " border: 1px solid #000000;\n"
96 " background-color: #8080ff;\n"
100 "div.statcounter dl {\n"
103 " margin-bottom: 0;\n"
105 " margin-right: 0;\n"
108 "div.statcounter dt {\n"
110 " text-align: center;\n"
111 " font-weight: bold;\n"
112 " border: 0.5px solid #000000;\n"
113 " background-color: #8080ff;\n"
117 "div.statcounter dd {\n"
119 " text-align: right;\n"
120 " border: 0.5px solid #000000;\n"
121 " background-color: teal;\n"
124 " margin-right: 0;\n"
127 "div.statcounter br {\n"
131 " <title>BIND 9 Statistics</title>\n"
134 " <div class=\"header\">\n"
135 " <h1>Bind 9 Configuration and Statistics</h1>\n"
141 " <tr class=\"rowh\"><th colspan=\"2\">Times</th></tr>\n"
142 " <tr class=\"lrow\">\n"
143 " <td>boot-time</td>\n"
144 " <td><xsl:value-of select=\"server/boot-time\"/></td>\n"
146 " <tr class=\"lrow\">\n"
147 " <td>current-time</td>\n"
148 " <td><xsl:value-of select=\"server/current-time\"/></td>\n"
155 " <tr class=\"rowh\"><th colspan=\"2\">Incoming Requests</th></tr>\n"
156 " <xsl:for-each select=\"server/requests/opcode\">\n"
157 " <tr class=\"lrow\">\n"
158 " <td><xsl:value-of select=\"name\"/></td>\n"
159 " <td><xsl:value-of select=\"counter\"/></td>\n"
167 " <tr class=\"rowh\"><th colspan=\"2\">Incoming Queries</th></tr>\n"
168 " <xsl:for-each select=\"server/queries-in/rdtype\">\n"
169 " <tr class=\"lrow\">\n"
170 " <td><xsl:value-of select=\"name\"/></td>\n"
171 " <td><xsl:value-of select=\"counter\"/></td>\n"
178 " <xsl:for-each select=\"views/view\">\n"
180 " <tr class=\"rowh\">\n"
181 " <th colspan=\"2\">Outgoing Queries from View <xsl:value-of select=\"name\"/></th>\n"
183 " <xsl:for-each select=\"rdtype\">\n"
184 " <tr class=\"lrow\">\n"
185 " <td><xsl:value-of select=\"name\"/></td>\n"
186 " <td><xsl:value-of select=\"counter\"/></td>\n"
195 " <div class=\"statcounter\">\n"
196 " <h2>Server Statistics</h2>\n"
197 " <xsl:for-each select=\"server/nsstat\">\n"
199 " <dt><xsl:value-of select=\"name\"/></dt>\n"
200 " <dd><xsl:value-of select=\"counter\"/></dd>\n"
206 " <div class=\"statcounter\">\n"
207 " <h2>Zone Maintenance Statistics</h2>\n"
208 " <xsl:for-each select=\"server/zonestat\">\n"
210 " <dt><xsl:value-of select=\"name\"/></dt>\n"
211 " <dd><xsl:value-of select=\"counter\"/></dd>\n"
217 " <div class=\"statcounter\">\n"
218 " <h2>Resolver Statistics (Common)</h2>\n"
219 " <xsl:for-each select=\"server/resstat\">\n"
221 " <dt><xsl:value-of select=\"name\"/></dt>\n"
222 " <dd><xsl:value-of select=\"counter\"/></dd>\n"
228 " <xsl:for-each select=\"views/view\">\n"
229 " <div class=\"statcounter\">\n"
230 " <h2>Resolver Statistics for View <xsl:value-of select=\"name\"/></h2>\n"
231 " <xsl:for-each select=\"resstat\">\n"
233 " <dt><xsl:value-of select=\"name\"/></dt>\n"
234 " <dd><xsl:value-of select=\"counter\"/></dd>\n"
243 " <xsl:for-each select=\"views/view\">\n"
245 " <tr class=\"rowh\">\n"
246 " <th colspan=\"2\">Cache DB RRsets for View <xsl:value-of select=\"name\"/></th>\n"
248 " <xsl:for-each select=\"cache/rrset\">\n"
249 " <tr class=\"lrow\">\n"
250 " <td><xsl:value-of select=\"name\"/></td>\n"
251 " <td><xsl:value-of select=\"counter\"/></td>\n"
258 " <div class=\"statcounter\">\n"
259 " <h2>Socket I/O Statistics</h2>\n"
260 " <xsl:for-each select=\"server/sockstat\">\n"
262 " <dt><xsl:value-of select=\"name\"/></dt>\n"
263 " <dd><xsl:value-of select=\"counter\"/></dd>\n"
271 " <xsl:for-each select=\"views/view\">\n"
273 " <tr class=\"rowh\">\n"
274 " <th colspan=\"10\">Zones for View <xsl:value-of select=\"name\"/></th>\n"
276 " <tr class=\"rowh\">\n"
280 " <th>Success</th>\n"
281 " <th>Referral</th>\n"
282 " <th>NXRRSET</th>\n"
283 " <th>NXDOMAIN</th>\n"
284 " <th>Failure</th>\n"
285 " <th>XfrReqDone</th>\n"
288 " <xsl:for-each select=\"zones/zone\">\n"
289 " <tr class=\"lrow\">\n"
291 " <xsl:value-of select=\"name\"/>\n"
294 " <xsl:value-of select=\"rdataclass\"/>\n"
297 " <xsl:value-of select=\"serial\"/>\n"
300 " <xsl:value-of select=\"counters/QrySuccess\"/>\n"
303 " <xsl:value-of select=\"counters/QryReferral\"/>\n"
306 " <xsl:value-of select=\"counters/QryNxrrset\"/>\n"
309 " <xsl:value-of select=\"counters/QryNXDOMAIN\"/>\n"
312 " <xsl:value-of select=\"counters/QryFailure\"/>\n"
315 " <xsl:value-of select=\"counters/XfrReqDone\"/>\n"
318 " <xsl:value-of select=\"counters/XfrRej\"/>\n"
329 " <tr class=\"rowh\">\n"
330 " <th colspan=\"7\">Network Status</th>\n"
332 " <tr class=\"rowh\">\n"
336 " <th>References</th>\n"
337 " <th>LocalAddress</th>\n"
338 " <th>PeerAddress</th>\n"
341 " <xsl:for-each select=\"socketmgr/sockets/socket\">\n"
342 " <tr class=\"lrow\">\n"
344 " <xsl:value-of select=\"id\"/>\n"
347 " <xsl:value-of select=\"name\"/>\n"
350 " <xsl:value-of select=\"type\"/>\n"
353 " <xsl:value-of select=\"references\"/>\n"
356 " <xsl:value-of select=\"local-address\"/>\n"
359 " <xsl:value-of select=\"peer-address\"/>\n"
362 " <xsl:for-each select=\"states\">\n"
363 " <xsl:value-of select=\".\"/>\n"
371 " <tr class=\"rowh\">\n"
372 " <th colspan=\"2\">Task Manager Configuration</th>\n"
374 " <tr class=\"lrow\">\n"
375 " <td>Thread-Model</td>\n"
377 " <xsl:value-of select=\"taskmgr/thread-model/type\"/>\n"
380 " <tr class=\"lrow\">\n"
381 " <td>Worker Threads</td>\n"
383 " <xsl:value-of select=\"taskmgr/thread-model/worker-threads\"/>\n"
386 " <tr class=\"lrow\">\n"
387 " <td>Default Quantum</td>\n"
389 " <xsl:value-of select=\"taskmgr/thread-model/default-quantum\"/>\n"
392 " <tr class=\"lrow\">\n"
393 " <td>Tasks Running</td>\n"
395 " <xsl:value-of select=\"taskmgr/thread-model/tasks-running\"/>\n"
401 " <tr class=\"rowh\">\n"
402 " <th colspan=\"5\">Tasks</th>\n"
404 " <tr class=\"rowh\">\n"
407 " <th>References</th>\n"
409 " <th>Quantum</th>\n"
411 " <xsl:for-each select=\"taskmgr/tasks/task\">\n"
412 " <tr class=\"lrow\">\n"
414 " <xsl:value-of select=\"id\"/>\n"
417 " <xsl:value-of select=\"name\"/>\n"
420 " <xsl:value-of select=\"references\"/>\n"
423 " <xsl:value-of select=\"state\"/>\n"
426 " <xsl:value-of select=\"quantum\"/>\n"
433 " <tr class=\"rowh\">\n"
434 " <th colspan=\"4\">Memory Usage Summary</th>\n"
436 " <xsl:for-each select=\"memory/summary/*\">\n"
437 " <tr class=\"lrow\">\n"
438 " <td><xsl:value-of select=\"name()\"/></td>\n"
439 " <td><xsl:value-of select=\".\"/></td>\n"
445 " <tr class=\"rowh\">\n"
446 " <th colspan=\"10\">Memory Contexts</th>\n"
448 " <tr class=\"rowh\">\n"
451 " <th>References</th>\n"
452 " <th>TotalUse</th>\n"
455 " <th>BlockSize</th>\n"
457 " <th>HiWater</th>\n"
458 " <th>LoWater</th>\n"
460 " <xsl:for-each select=\"memory/contexts/context\">\n"
461 " <tr class=\"lrow\">\n"
463 " <xsl:value-of select=\"id\"/>\n"
466 " <xsl:value-of select=\"name\"/>\n"
469 " <xsl:value-of select=\"references\"/>\n"
472 " <xsl:value-of select=\"total\"/>\n"
475 " <xsl:value-of select=\"inuse\"/>\n"
478 " <xsl:value-of select=\"maxinuse\"/>\n"
481 " <xsl:value-of select=\"blocksize\"/>\n"
484 " <xsl:value-of select=\"pools\"/>\n"
487 " <xsl:value-of select=\"hiwater\"/>\n"
490 " <xsl:value-of select=\"lowater\"/>\n"
499 "</xsl:stylesheet>\n";