bind9.xsl revision 2b8dac99166f74532264f756f5c0b43a6b04d995
7e4d75a5daeaaf8a7f559f9bd7fbf540184e235cMark Andrews<?xml version="1.0" encoding="UTF-8"?>
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews<!--
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence - Copyright (C) 2006-2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews -
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews - Permission to use, copy, modify, and/or distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews - purpose with or without fee is hereby granted, provided that the above
7e4d75a5daeaaf8a7f559f9bd7fbf540184e235cMark Andrews - copyright notice and this permission notice appear in all copies.
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews -
823ca3c14f1596341bdd50707c01f3b529b75b4aAutomatic Updater - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein - PERFORMANCE OF THIS SOFTWARE.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein-->
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<!-- $Id$ -->
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<!-- %Id: bind9.xsl,v 1.21 2009/01/27 23:47:54 tbox Exp % -->
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <xsl:output method="html" indent="yes" version="4.0"/>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <xsl:template match="statistics[@version=&quot;3.0&quot;]">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <html>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <head>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <xsl:if test="system-property('xsl:vendor')!='Transformiix'">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <!-- Non Mozilla specific markup -->
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater <script type="text/javascript" src="https://www.google.com/jsapi"/>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <script type="text/javascript">
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein google.load("visualization", "1", {packages:["corechart"]});
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein google.setOnLoadCallback(loadGraphs);
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein var graphs=[];
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein function drawChart(chart_title,target,data) {
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater var data = google.visualization.arrayToDataTable(data);
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein var options = {
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein title: chart_title
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater };
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein var chart = new google.visualization.BarChart(document.getElementById(target));
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater chart.draw(data, options);
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein }
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein function loadGraphs(){
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater //alert("here we are!");
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein var g;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein // Server Incoming query Types
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein while(g = graphs.shift()){
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater // alert("going for: " + g.target);
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein if(g.data.length > 1){
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein drawChart(g.title,g.target,g.data);
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein }
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater }
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein }
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein // Server Incoming Queries Types
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein graphs.push({
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein 'title' : "Server Incoming Query Types",
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater 'target': 'chart_incoming_qtypes',
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein 'data': [['Type','Counter'],<xsl:for-each select="server/counters[@type=&quot;qtype&quot;]/counter">['<xsl:value-of select="@name"/>',<xsl:value-of select="."/>],</xsl:for-each>]
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein });
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein // Server Incoming Requests
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater graphs.push({
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein 'title' : "Server Incoming Requests",
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein 'target': 'chart_incoming_requests',
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater 'data': [['Requests','Counter'],<xsl:for-each select="server/counters[@type=&quot;opcode&quot;]/counter">['<xsl:value-of select="@name"/>',<xsl:value-of select="."/>],</xsl:for-each>]});
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </script>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </xsl:if>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <style type="text/css">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein body {
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater font-family: sans-serif;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein background-color: #ffffff;
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater color: #000000;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein font-size: 10pt;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein }
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein .odd{
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater background-color: #f0f0f0;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein }
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater .even{
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein background-color: #ffffff;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein }
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein p.footer{
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater font-style:italic;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein color: grey;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein }
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein table {
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater border-collapse: collapse;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein border: 1px solid grey;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein }
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater table.counters{
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein border: 1px solid grey;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein width: 500px;
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater }
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater table.counters th {
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater text-align: center;
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein border: 1px solid grey;
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence width: 120px;
6b7257f756eb0530cdf54df9a7fab8d51a5001c3David Lawrence }
6b7257f756eb0530cdf54df9a7fab8d51a5001c3David Lawrence table.counters td{
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews text-align:center;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews }
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews table.counters tr:hover{
37d266d288410d1ead241c02a8a1dbcb0160be46Michael Graff background-color: #99ddff;
35c842e05dc6382ce1d9161a658d3ff4b2c3d4c9Bob Halley }
37d266d288410d1ead241c02a8a1dbcb0160be46Michael Graff
37d266d288410d1ead241c02a8a1dbcb0160be46Michael Graff .totals {
37d266d288410d1ead241c02a8a1dbcb0160be46Michael Graff background-color: rgb(1,169,206);
37d266d288410d1ead241c02a8a1dbcb0160be46Michael Graff color: #ffffff;
d0783e645b149fcea7e7f22cd43f87b5d188b055Mark Andrews }
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
d0783e645b149fcea7e7f22cd43f87b5d188b055Mark Andrews td, th {
d0783e645b149fcea7e7f22cd43f87b5d188b055Mark Andrews padding-right: 5px;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews padding-left: 5px;
d0783e645b149fcea7e7f22cd43f87b5d188b055Mark Andrews border: 1px solid grey;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews }
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence
5236050c0f819b727dfc4850133f5194f346f76fDanny Mayer .header h1 {
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence color: rgb(1,169,206);
35c842e05dc6382ce1d9161a658d3ff4b2c3d4c9Bob Halley padding: 0px;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews }
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater .content {
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence background-color: #ffffff;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews color: #000000;
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater padding: 4px;
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater }
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater .item {
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater padding: 4px;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews text-align: right;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews }
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews .value {
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews padding: 4px;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews font-weight: bold;
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater }
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews h2 {
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews color: grey;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews font-size: 14pt;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews width:500px;
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence text-align:center;
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence }
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence h3 {
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence color: #444444;
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence font-size: 12pt;
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence width:500px;
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence text-align:center;
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence }
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence h4 {
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews color: rgb(1,169,206);
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews font-size: 10pt;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews width:500px;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews text-align:center;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein }
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews .pie {
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews width:500px;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews height: 500px;
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews }
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </style>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <title>ISC BIND 9 Statistics</title>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </head>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <body>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <div class="header">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <h1>ISC Bind 9 Configuration and Statistics</h1>
af9cfbc64363b61aa5903dd916e9fbc152084d4cMark Andrews </div>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <hr/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <h2>Server Times</h2>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <table class="counters">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>Boot time:</th>
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="server/boot-time"/>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <th>Sample time:</th>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <td>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <xsl:value-of select="server/current-time"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </table>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <br/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <h2>Incoming Requests</h2>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:if test="system-property('xsl:vendor')!='Transformiix'">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <!-- Non Mozilla specific markup -->
35c842e05dc6382ce1d9161a658d3ff4b2c3d4c9Bob Halley <div class="pie" id="chart_incoming_requests">[graph of incoming requests]</div>
35c842e05dc6382ce1d9161a658d3ff4b2c3d4c9Bob Halley </xsl:if>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <table class="counters">
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <xsl:for-each select="server/counters[@type=&quot;opcode&quot;]/counter">
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <xsl:sort select="." data-type="number" order="descending"/>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="@name"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="."/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:for-each>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th class="totals">Total:</th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td class="totals">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="sum(server/counters[@type=&quot;opcode&quot;]/counter)"/>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence </td>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence </tr>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence </table>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <br/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <h3>Incoming Queries by Type</h3>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:if test="system-property('xsl:vendor')!='Transformiix'">
bb6936058eb88eadff030462a347c10895c61a9aMark Andrews <!-- Non Mozilla specific markup -->
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <div class="pie" id="chart_incoming_qtypes">[graph of incoming qtypes]</div>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence </xsl:if>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <table class="counters">
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <xsl:for-each select="server/counters[@type=&quot;qtype&quot;]/counter">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:sort select="." data-type="number" order="descending"/>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <xsl:variable name="css-class">
bb6936058eb88eadff030462a347c10895c61a9aMark Andrews <xsl:choose>
bb6936058eb88eadff030462a347c10895c61a9aMark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
49d69bbad82b53219cce3599b84ba3057f7daad3Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
49d69bbad82b53219cce3599b84ba3057f7daad3Mark Andrews </xsl:choose>
49d69bbad82b53219cce3599b84ba3057f7daad3Mark Andrews </xsl:variable>
49d69bbad82b53219cce3599b84ba3057f7daad3Mark Andrews <tr class="{$css-class}">
bb6936058eb88eadff030462a347c10895c61a9aMark Andrews <th>
bb6936058eb88eadff030462a347c10895c61a9aMark Andrews <xsl:value-of select="@name"/>
bb6936058eb88eadff030462a347c10895c61a9aMark Andrews </th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="."/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:for-each>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th class="totals">Total:</th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td class="totals">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="sum(server/counters[@type=&quot;qtype&quot;]/counter)"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
efe2f579ba6fbec4229129015780f2d925085b04Michael Graff </tr>
6add3af8397580475ab9fa10ac8c1269465cff87Mark Andrews </table>
6add3af8397580475ab9fa10ac8c1269465cff87Mark Andrews <br/>
6add3af8397580475ab9fa10ac8c1269465cff87Mark Andrews <h2>Outgoing Queries per view</h2>
6add3af8397580475ab9fa10ac8c1269465cff87Mark Andrews <xsl:for-each select="views/view[count(counters[@type=&quot;resqtype&quot;]/counter) &gt; 0]">
8f80322fb58bac39c84bb76cb2bc82406bd6a9ecBrian Wellington <h3>View <xsl:value-of select="@name"/></h3>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:if test="system-property('xsl:vendor')!='Transformiix'">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <!-- Non Mozilla specific markup -->
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <script type="text/javascript">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews graphs.push({
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews 'title': "Outgoing queries for view: <xsl:value-of select="@name"/>",
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews 'target': 'chart_outgoing_queries_view_<xsl:value-of select="@name"/>',
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews 'data': [['Type','Counter'],<xsl:for-each select="counters[@type=&quot;resqtype&quot;]/counter">['<xsl:value-of select="@name"/>',<xsl:value-of select="."/>],</xsl:for-each>]
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews });
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </script>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:variable name="target">
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <xsl:value-of select="@name"/>
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt </xsl:variable>
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <div class="pie" id="chart_outgoing_queries_view_{$target}"/>
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt </xsl:if>
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <table class="counters">
823ca3c14f1596341bdd50707c01f3b529b75b4aAutomatic Updater <xsl:for-each select="counters[@type=&quot;resqtype&quot;]/counter">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:sort select="." data-type="number" order="descending"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:variable name="css-class1">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:variable>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr class="{$css-class1}">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="@name"/>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </th>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <td>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <xsl:value-of select="."/>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </td>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:for-each>
171d0db7f93bf796f870713d6208b21893401cfcBrian Wellington </table>
171d0db7f93bf796f870713d6208b21893401cfcBrian Wellington <br/>
171d0db7f93bf796f870713d6208b21893401cfcBrian Wellington </xsl:for-each>
171d0db7f93bf796f870713d6208b21893401cfcBrian Wellington <h2>Server Statistics</h2>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <xsl:if test="system-property('xsl:vendor')!='Transformiix'">
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence <!-- Non Mozilla specific markup -->
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <script type="text/javascript">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews graphs.push({
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews 'title' : "Server Counters",
823ca3c14f1596341bdd50707c01f3b529b75b4aAutomatic Updater 'target': 'chart_server_nsstat_restype',
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews 'data': [['Type','Counter'],<xsl:for-each select="server/counters[@type=&quot;nsstat&quot;]/counter[.&gt;0]">['<xsl:value-of select="@name"/>',<xsl:value-of select="."/>],</xsl:for-each>]
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews });
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
af9cfbc64363b61aa5903dd916e9fbc152084d4cMark Andrews </script>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <div class="pie" id="chart_server_nsstat_restype"/>
af9cfbc64363b61aa5903dd916e9fbc152084d4cMark Andrews </xsl:if>
03084608809afbaf570093a14d2dc4ad507336a0Brian Wellington <table class="counters">
03084608809afbaf570093a14d2dc4ad507336a0Brian Wellington <xsl:for-each select="server/counters[@type=&quot;nsstat&quot;]/counter[.&gt;0]">
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <xsl:sort select="." data-type="number" order="descending"/>
03084608809afbaf570093a14d2dc4ad507336a0Brian Wellington <xsl:variable name="css-class2">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:variable>
af9cfbc64363b61aa5903dd916e9fbc152084d4cMark Andrews <tr class="{$css-class2}">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="@name"/>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </th>
347ccc2716b45b8c72a1021d7a74faab49d3eefaBrian Wellington <td>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence <xsl:value-of select="."/>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence </td>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence </tr>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence </xsl:for-each>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </table>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <br/>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <h2>Zone Maintenance Statistics</h2>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <xsl:if test="system-property('xsl:vendor')!='Transformiix'">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <script type="text/javascript">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews graphs.push({
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews 'title' : "Zone Maintenance Stats",
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews 'target': 'chart_server_zone_maint',
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence 'data': [['Type','Counter'],<xsl:for-each select="server/counters[@type=&quot;zonestat&quot;]/counter">['<xsl:value-of select="@name"/>',<xsl:value-of select="."/>],</xsl:for-each>]
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews });
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
5eb91bd90e3ad3426e5e3213031556a737cf3809Mark Andrews </script>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <!-- Non Mozilla specific markup -->
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <div class="pie" id="chart_server_zone_maint"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:if>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <table class="counters">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:for-each select="server/counters[@type=&quot;zonestat&quot;]/counter">
5eb91bd90e3ad3426e5e3213031556a737cf3809Mark Andrews <xsl:sort select="." data-type="number" order="descending"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:variable name="css-class3">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:variable>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr class="{$css-class3}">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="@name"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </th>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence <td>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence <xsl:value-of select="."/>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence </td>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence </tr>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence </xsl:for-each>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence </table>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence <h2>Resolver Statistics (Common)</h2>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence <table class="counters">
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence <xsl:for-each select="server/counters[@type=&quot;resstat&quot;]/counter">
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence <xsl:sort select="." data-type="number" order="descending"/>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence <xsl:variable name="css-class4">
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence <xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence <xsl:otherwise>odd</xsl:otherwise>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence </xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:variable>
ea023072092112a831ca7c2943387ccbb422a3f2Mark Andrews <tr class="{$css-class4}">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="@name"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </th>
efe2f579ba6fbec4229129015780f2d925085b04Michael Graff <td>
03084608809afbaf570093a14d2dc4ad507336a0Brian Wellington <xsl:value-of select="."/>
8f80322fb58bac39c84bb76cb2bc82406bd6a9ecBrian Wellington </td>
347ccc2716b45b8c72a1021d7a74faab49d3eefaBrian Wellington </tr>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </xsl:for-each>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </table>
347ccc2716b45b8c72a1021d7a74faab49d3eefaBrian Wellington <xsl:for-each select="views/view">
03084608809afbaf570093a14d2dc4ad507336a0Brian Wellington <h3>Resolver Statistics for View <xsl:value-of select="@name"/></h3>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <table class="counters">
171d0db7f93bf796f870713d6208b21893401cfcBrian Wellington <xsl:for-each select="counters[@type=&quot;resstats&quot;]/counter[.&gt;0]">
171d0db7f93bf796f870713d6208b21893401cfcBrian Wellington <xsl:sort select="." data-type="number" order="descending"/>
171d0db7f93bf796f870713d6208b21893401cfcBrian Wellington <xsl:variable name="css-class5">
171d0db7f93bf796f870713d6208b21893401cfcBrian Wellington <xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:choose>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </xsl:variable>
03084608809afbaf570093a14d2dc4ad507336a0Brian Wellington <tr class="{$css-class5}">
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="@name"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <xsl:value-of select="."/>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence </td>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:for-each>
af9cfbc64363b61aa5903dd916e9fbc152084d4cMark Andrews </table>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:for-each>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:for-each select="views/view">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <h3>ADB Statistics for View <xsl:value-of select="@name"/></h3>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <table class="counters">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:for-each select="counters[@type=&quot;adbstat&quot;]/counter[.&gt;0]">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:sort select="." data-type="number" order="descending"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:variable name="css-class5">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
ed71ea51c6ecb5d7d659b6e6a20f6b3f5c2678c6David Lawrence </xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:variable>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr class="{$css-class5}">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="@name"/>
efe2f579ba6fbec4229129015780f2d925085b04Michael Graff </th>
03084608809afbaf570093a14d2dc4ad507336a0Brian Wellington <td>
8f80322fb58bac39c84bb76cb2bc82406bd6a9ecBrian Wellington <xsl:value-of select="."/>
347ccc2716b45b8c72a1021d7a74faab49d3eefaBrian Wellington </td>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:for-each>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </table>
1cb73c69f76c8c2c66b767a8b9ad04f3988cf6a9Mark Andrews </xsl:for-each>
1cb73c69f76c8c2c66b767a8b9ad04f3988cf6a9Mark Andrews
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <xsl:for-each select="views/view">
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <h3>Cache Statistics for View <xsl:value-of select="@name"/></h3>
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <table class="counters">
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <xsl:for-each select="counters[@type=&quot;cachestats&quot;]/counter[.&gt;0]">
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <xsl:sort select="." data-type="number" order="descending"/>
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <xsl:variable name="css-class5">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
ef22fffeebffacbcbce1f8d68d0c3f29a7d4a59eEvan Hunt <xsl:otherwise>odd</xsl:otherwise>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:choose>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </xsl:variable>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <tr class="{$css-class5}">
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <th>
1cb73c69f76c8c2c66b767a8b9ad04f3988cf6a9Mark Andrews <xsl:value-of select="@name"/>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="."/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:for-each>
af9cfbc64363b61aa5903dd916e9fbc152084d4cMark Andrews </table>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:for-each>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <h3>Cache DB RRsets for View <xsl:value-of select="@name"/></h3>
611dc8876869036ab5e981e53ae7a446145d9354Mark Andrews <xsl:for-each select="views/view">
611dc8876869036ab5e981e53ae7a446145d9354Mark Andrews <table class="counters">
611dc8876869036ab5e981e53ae7a446145d9354Mark Andrews <xsl:for-each select="cache/rrset">
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <xsl:variable name="css-class6">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:variable>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr class="{$css-class6}">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="name"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="counter"/>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:for-each>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </table>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <br/>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews </xsl:for-each>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <h2>Socket I/O Statistics</h2>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <table class="counters">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:for-each select="server/counters[@type=&quot;sockstat&quot;]/counter[.&gt;0]">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:variable name="css-class7">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:variable>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr class="{$css-class7}">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="@name"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="."/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:for-each>
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater </table>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <br/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <br/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <h2>Response Codes per view/zone</h2>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:for-each select="views/view[zones/zone/counters[@type=&quot;rcode&quot;]/counter &gt;0]">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <h3>View <xsl:value-of select="@name"/></h3>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:variable name="thisview">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="@name"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:variable>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:for-each select="zones/zone">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:if test="counters[@type=&quot;rcode&quot;]/counter[. &gt; 0]">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <h4>Zone <xsl:value-of select="@name"/></h4>
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater <xsl:if test="system-property('xsl:vendor')!='Transformiix'">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <!-- Non Mozilla specific markup -->
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <script type="text/javascript">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews graphs.push({
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews 'title': "Response Codes for zone <xsl:value-of select="@name"/>",
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews 'target': 'chart_rescode_<xsl:value-of select="../../@name"/>_<xsl:value-of select="@name"/>',
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews 'data': [['Type','Counter'],<xsl:for-each select="counters[@type=&quot;rcode&quot;]/counter[.&gt;0 and @name != &quot;QryAuthAns&quot;]">['<xsl:value-of select="@name"/>',<xsl:value-of select="."/>],</xsl:for-each>]
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews });
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </script>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:variable name="target">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="@name"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:variable>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <div class="pie" id="chart_rescode_{$thisview}_{$target}"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:if>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <table class="counters">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:for-each select="counters[@type=&quot;rcode&quot;]/counter[.&gt;0 and @name != &quot;QryAuthAns&quot;]">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:sort select="."/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:variable name="css-class10">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:choose>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:choose>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:variable>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <tr class="{$css-class10}">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="@name"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="."/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:for-each>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </table>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:if>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:for-each>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:for-each>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <h2>Received QTYPES per view/zone</h2>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:for-each select="views/view[zones/zone/counters[@type=&quot;qtype&quot;]/counter &gt;0]">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <h3>View <xsl:value-of select="@name"/></h3>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:variable name="thisview2">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="@name"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:variable>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:for-each select="zones/zone">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:if test="counters[@type=&quot;qtype&quot;]/counter[count(.) &gt; 0]">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <h4>Zone <xsl:value-of select="@name"/></h4>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:if test="system-property('xsl:vendor')!='Transformiix'">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <!-- Non Mozilla specific markup -->
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <script type="text/javascript">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews graphs.push({
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews 'title': "Query Types for zone <xsl:value-of select="@name"/>",
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews 'target': 'chart_qtype_<xsl:value-of select="../../@name"/>_<xsl:value-of select="@name"/>',
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews 'data': [['Type','Counter'],<xsl:for-each select="counters[@type=&quot;qtype&quot;]/counter[.&gt;0 and @name != &quot;QryAuthAns&quot;]">['<xsl:value-of select="@name"/>',<xsl:value-of select="."/>],</xsl:for-each>]
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater });
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </script>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:variable name="target">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="@name"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:variable>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <div class="pie" id="chart_qtype_{$thisview2}_{$target}"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:if>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <table class="counters">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:for-each select="counters[@type=&quot;qtype&quot;]/counter">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:sort select="."/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:variable name="css-class11">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:choose>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:choose>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:variable>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <tr class="{$css-class11}">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="@name"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="."/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </tr>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt </xsl:for-each>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </table>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:if>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:for-each>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:for-each>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <h2>Network Status</h2>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <table class="counters">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>ID</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>Name</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>Type</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>References</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>LocalAddress</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>PeerAddress</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>State</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:for-each select="socketmgr/sockets/socket">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:sort select="id"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:variable name="css-class12">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:choose>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:choose>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:variable>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <tr class="{$css-class12}">
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <td>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <xsl:value-of select="id"/>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt </td>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="name"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="type"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="references"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="local-address"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <xsl:value-of select="peer-address"/>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt </td>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <td>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <xsl:for-each select="states">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="."/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:for-each>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:for-each>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </table>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <br/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <h2>Task Manager Configuration</h2>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <table class="counters">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th class="even">Thread-Model</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="taskmgr/thread-model/type"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <tr class="odd">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>Worker Threads</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="taskmgr/thread-model/worker-threads"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <tr class="even">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>Default Quantum</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="taskmgr/thread-model/default-quantum"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr class="odd">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>Tasks Running</th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="taskmgr/thread-model/tasks-running"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <tr class="odd">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>Tasks Ready</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="taskmgr/thread-model/tasks-ready"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </table>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <br/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <h2>Tasks</h2>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <table class="counters">
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <tr>
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark Andrews <th>ID</th>
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark Andrews <th>Name</th>
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark Andrews <th>References</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>State</th>
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater <th>Quantum</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <th>Events</th>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:for-each select="taskmgr/tasks/task">
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark Andrews <xsl:sort select="name"/>
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark Andrews <xsl:variable name="css-class14">
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark Andrews <xsl:choose>
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
47ee25b1f58a5924c51b59194b84621b9b7b6ba5Mark Andrews </xsl:choose>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:variable>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr class="{$css-class14}">
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <td>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <xsl:value-of select="id"/>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="name"/>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence </td>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <td>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <xsl:value-of select="references"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="state"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="quantum"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <xsl:value-of select="events"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:for-each>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </table>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <br/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <h2>Memory Usage Summary</h2>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <table class="counters">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:for-each select="memory/summary/*">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:variable name="css-class13">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:when test="position() mod 2 = 0">even</xsl:when>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:otherwise>odd</xsl:otherwise>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:choose>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:variable>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr class="{$css-class13}">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="name()"/>
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater </th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="."/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:for-each>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </table>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <br/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <h2>Memory Contexts</h2>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <table class="counters">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>ID</th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>Name</th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>References</th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>TotalUse</th>
1a03b5e68553c37e9cc0097368909dfc37fb8cefMark Andrews <th>InUse</th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>MaxUse</th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>BlockSize</th>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <th>Pools</th>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <th>HiWater</th>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence <th>LoWater</th>
ca81c3971cd0c9cfd830c0a18289d4d1b0f9de01David Lawrence </tr>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:for-each select="memory/contexts/context">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:sort select="total" data-type="number" order="descending"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:variable name="css-class14">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:choose>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <xsl:when test="position() mod 2 = 0">even</xsl:when>
fa5a42fbad42f4e033376d5d4624e29d018d97b7Brian Wellington <xsl:otherwise>odd</xsl:otherwise>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:choose>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:variable>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <tr class="{$css-class14}">
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="id"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="name"/>
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="references"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <xsl:value-of select="total"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <xsl:value-of select="inuse"/>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="maxinuse"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="blocksize"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <xsl:value-of select="pools"/>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt </td>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <td>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt <xsl:value-of select="hiwater"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <td>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews <xsl:value-of select="lowater"/>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </td>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </tr>
bdb1394788a677d0b6e8499ba1ece17a73f476c7Mark Andrews </xsl:for-each>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </table>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews <hr/>
800fb35bf0c1cfcd82b542944b0d29e1837d8a09Automatic Updater <p class="footer">Internet Systems Consortium Inc.<br/><a href="http://www.isc.org">http://www.isc.org</a></p>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </body>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </html>
7d2b275f7e9238e2c709737601f6260b5a9a4ee1Mark Andrews </xsl:template>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt</xsl:stylesheet>
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt