bind9.xsl.h revision c73a7e127fd3d2b2d3257f67d7a0b94441797f3a
431a83fb29482c5170b3e4026e59bb14849a6707Tinderbox User * Generated by convertxsl.pl 1.14 2008/07/17 23:43:26 jinmei Exp
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * From <!-- %Id: bind9.xsl 1.21 2009/01/27 23:47:54 tbox Exp %
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updaterstatic char xslmsg[] =
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence " - Copyright (C) 2006-2009, 2012-2014 Internet Systems Consortium, Inc. (\"ISC\")\n"
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews " - Permission to use, copy, modify, and/or distribute this software for any\n"
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews " - purpose with or without fee is hereby granted, provided that the above\n"
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews " - copyright notice and this permission notice appear in all copies.\n"
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews " - THE SOFTWARE IS PROVIDED \"AS IS\" AND ISC DISCLAIMS ALL WARRANTIES WITH\n"
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews " - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n"
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein " - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n"
d09197467bbb156dccf0cbe72bb5c63480d5cfdcDavid Lawrence " - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n"
d09197467bbb156dccf0cbe72bb5c63480d5cfdcDavid Lawrence " - PERFORMANCE OF THIS SOFTWARE.\n"
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff "<!-- $Id$ -->\n"
62ac31d7fd09b0bf2231e5f55ed85aed39bc2df6Evan Hunt "<!-- \045Id: bind9.xsl,v 1.21 2009/01/27 23:47:54 tbox Exp \045 -->\n"
62ac31d7fd09b0bf2231e5f55ed85aed39bc2df6Evan Hunt "<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns=\"http://www.w3.org/1999/xhtml\" version=\"1.0\">\n"
62ac31d7fd09b0bf2231e5f55ed85aed39bc2df6Evan Hunt " <xsl:output method=\"html\" indent=\"yes\" version=\"4.0\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:template match=\"statistics[@version="3.5"]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <head>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:if test=\"system-property('xsl:vendor')!='Transformiix'\">\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " <!-- Non Mozilla specific markup -->\n"
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews " <script type=\"text/javascript\" src=\"https://www.google.com/jsapi\"/>\n"
dd57718608494835363244429432599aa15124a3Andreas Gustafsson " <script type=\"text/javascript\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " google.load(\"visualization\", \"1\", {packages:[\"corechart\"]});\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " google.setOnLoadCallback(loadGraphs);\n"
82a1986c04057804edf670bf5d59f716785af789Bob Halley " var graphs=[];\n"
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein " function drawChart(chart_title,target,style,data) {\n"
891a1bead8d02d29eb7b4993d7c0975047b0963dDavid Lawrence " var data = google.visualization.arrayToDataTable(data);\n"
891a1bead8d02d29eb7b4993d7c0975047b0963dDavid Lawrence " var options = {\n"
891a1bead8d02d29eb7b4993d7c0975047b0963dDavid Lawrence " title: chart_title\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " var chart;\n"
73d62a89f1493865c33c689b3ee3de91c74ad58eDavid Lawrence " if (style == \"barchart\") {\n"
73d62a89f1493865c33c689b3ee3de91c74ad58eDavid Lawrence " chart = new google.visualization.BarChart(document.getElementById(target));\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " chart.draw(data, options);\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " } else if (style == \"piechart\") {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " chart = new google.visualization.PieChart(document.getElementById(target));\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " chart.draw(data, options);\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " function loadGraphs(){\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " var g;\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " while(g = graphs.shift()){\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " // alert(\"going for: \" + g.target);\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " if(g.data.length > 1){\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " drawChart(g.title,g.target,g.style,g.data);\n"
c80dde0676a7f36f65e0ad8d646bf505705fe64bDavid Lawrence " <xsl:if test=\"server/counters[@type="qtype"]/counter\">\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " // Server Incoming Query Types\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " graphs.push({\n"
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrence " 'title' : \"Server Incoming Query Types\",\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " 'target': 'chart_incoming_qtypes',\n"
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence " 'style': 'barchart',\n"
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence " 'data': [['Type','Counter'],<xsl:for-each select=\"server/counters[@type="qtype"]/counter\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " </xsl:if>\n"
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence " <xsl:if test=\"server/counters[@type="opcode"]/counter\">\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " // Server Incoming Requests by opcode\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " graphs.push({\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " 'title' : \"Server Incoming Requests by DNS Opcode\",\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " 'target': 'chart_incoming_opcodes',\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " 'style': 'barchart',\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " 'data': [['Opcode','Counter'],<xsl:for-each select=\"server/counters[@type="opcode"]/counter[. > 0 or substring(@name,1,3) != 'RES']\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]});\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " </xsl:if>\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " </script>\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <style type=\"text/css\">\n"
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrence " font-family: sans-serif;\n"
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrence " background-color: #ffffff;\n"
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrence " color: #000000;\n"
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrence " font-size: 10pt;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " .odd{\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " background-color: #f0f0f0;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " .even{\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " background-color: #ffffff;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " p.footer{\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " font-style:italic;\n"
b4a865ee130c8a1623a7060c27efec0c1f238403Francis Dupont " color: grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " border-collapse: collapse;\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.counters{\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " width: 500px;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.counters th {\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " text-align: right;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " width: 150px;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.counters td {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " text-align: right;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " font-family: monospace;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.counters tr:hover{\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " background-color: #99ddff;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.info {\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " width: 500px;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.info th {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " text-align: center;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " width: 150px;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.info td {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " text-align: center;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.info tr:hover{\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " background-color: #99ddff;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " width: 500px;\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " text-align: center;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " width: 150px;\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " table.tasks td {\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " text-align: right;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " font-family: monospace;\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " table.tasks td:nth-child(2) {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " text-align: center;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.tasks td:nth-child(4) {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " text-align: center;\n"
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox User " table.tasks tr:hover{\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " background-color: #99ddff;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.netstat {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " width: 500px;\n"
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox User " table.netstat th {\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " text-align: center;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " width: 150px;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.netstat td {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " text-align: center;\n"
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox User " table.netstat td:nth-child(4) {\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " text-align: right;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " font-family: monospace;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.netstat td:nth-child(7) {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " text-align: left;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.netstat tr:hover{\n"
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox User " background-color: #99ddff;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.mctx {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " width: 500px;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.mctx th {\n"
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox User " text-align: center;\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " border: 1px solid grey;\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " table.mctx td {\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " text-align: right;\n"
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein " font-family: monospace;\n"
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence " table.mctx td:nth-child(-n+2) {\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " text-align: left;\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " width: 100px;\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " table.mctx tr:hover{\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " background-color: #99ddff;\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " .totals {\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " background-color: rgb(1,169,206);\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " color: #ffffff;\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " td, th {\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " padding-right: 5px;\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " padding-left: 5px;\n"
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence " border: 1px solid grey;\n"
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence " .header h1 {\n"
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence " color: rgb(1,169,206);\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " padding: 0px;\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " .content {\n"
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein " background-color: #ffffff;\n"
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews " color: #000000;\n"
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews " padding: 4px;\n"
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews " .item {\n"
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews " padding: 4px;\n"
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews " text-align: right;\n"
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence " .value {\n"
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews " padding: 4px;\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " font-weight: bold;\n"
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews " color: grey;\n"
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence " font-size: 14pt;\n"
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein " width:500px;\n"
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence " text-align:center;\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " color: #444444;\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " font-size: 12pt;\n"
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrence " width:500px;\n"
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein " text-align:center;\n"
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence " color: rgb(1,169,206);\n"
47b7dfffe5d806c6a5e99ef17f07bcde812c2132Francis Dupont " font-size: 10pt;\n"
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence " width:500px;\n"
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrence " text-align:center;\n"
b16d99bac1d100735224ab3eaa84632537ff21b5Mark Andrews " width:500px;\n"
b16d99bac1d100735224ab3eaa84632537ff21b5Mark Andrews " height: 500px;\n"
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley " </style>\n"
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley " <title>ISC BIND 9 Statistics</title>\n"
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley " </head>\n"
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley " <div class=\"header\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <h1>ISC Bind 9 Configuration and Statistics</h1>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <p>Alternate statistics views: <a href=\"/\">All</a>,\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <a href=\"/xml/v3/status\">Status</a>,\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <a href=\"/xml/v3/server\">Server</a>,\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <a href=\"/xml/v3/zones\">Zones</a>,\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <a href=\"/xml/v3/net\">Network</a>,\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <a href=\"/xml/v3/tasks\">Tasks</a> and\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <a href=\"/xml/v3/mem\">Memory</a></p>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <h2>Server Status</h2>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <table class=\"info\">\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <th>Boot time:</th>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:value-of select=\"server/boot-time\"/>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <th>Last reconfigured:</th>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:value-of select=\"server/config-time\"/>\n"
7554feaef6057f5ea2926076900ac7634b911456Mark Andrews " <th>Current time:</th>\n"
7554feaef6057f5ea2926076900ac7634b911456Mark Andrews " <xsl:value-of select=\"server/current-time\"/>\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " </table>\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " <xsl:if test=\"server/counters[@type="opcode"]/counter[. > 0]\">\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " <xsl:if test=\"system-property('xsl:vendor')!='Transformiix'\">\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " <h2>Incoming Requests by DNS Opcode</h2>\n"
bd1190c84b08e61a12789c54f083318c36449e5eDavid Lawrence " <!-- Non Mozilla specific markup -->\n"
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence " <div class=\"pie\" id=\"chart_incoming_opcodes\">\n"
73d62a89f1493865c33c689b3ee3de91c74ad58eDavid Lawrence " [cannot display chart]\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " </xsl:if>\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " <table class=\"counters\">\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " <xsl:for-each select=\"server/counters[@type="opcode"]/counter[. > 0 or substring(@name,1,3) != 'RES']\">\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " <xsl:sort select=\".\" data-type=\"number\" order=\"descending\"/>\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " <xsl:value-of select=\"@name\"/>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:value-of select=\".\"/>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </xsl:for-each>\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " <th class=\"totals\">Total:</th>\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " <td class=\"totals\">\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " <xsl:value-of select=\"sum(server/counters[@type="opcode"]/counter)\"/>\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " </table>\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " </xsl:if>\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " <xsl:if test=\"server/counters[@type="qtype"]/counter\">\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " <xsl:if test=\"system-property('xsl:vendor')!='Transformiix'\">\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " <!-- Non Mozilla specific markup -->\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " <h3>Incoming Queries by Query Type</h3>\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " <div class=\"pie\" id=\"chart_incoming_qtypes\">\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " [cannot display chart]\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </xsl:if>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <table class=\"counters\">\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:for-each select=\"server/counters[@type="qtype"]/counter\">\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:sort select=\".\" data-type=\"number\" order=\"descending\"/>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:variable name=\"css-class\">\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:choose>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:otherwise>odd</xsl:otherwise>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " </xsl:choose>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " </xsl:variable>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <tr class=\"{$css-class}\">\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " <xsl:value-of select=\"@name\"/>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:value-of select=\".\"/>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " </xsl:for-each>\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " <th class=\"totals\">Total:</th>\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " <td class=\"totals\">\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " <xsl:value-of select=\"sum(server/counters[@type="qtype"]/counter)\"/>\n"
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence " </xsl:if>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:if test=\"views/view[count(counters[@type="resqtype"]/counter) > 0]\">\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <h2>Outgoing Queries per view</h2>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:for-each select=\"views/view[count(counters[@type="resqtype"]/counter) > 0]\">\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <h3>View <xsl:value-of select=\"@name\"/></h3>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:if test=\"system-property('xsl:vendor')!='Transformiix'\">\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <!-- Non Mozilla specific markup -->\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <script type=\"text/javascript\">\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " graphs.push({\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " 'title': \"Outgoing Queries for view: <xsl:value-of select=\"@name\"/>\",\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " 'target': 'chart_outgoing_queries_view_<xsl:value-of select=\"@name\"/>',\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " 'style': 'barchart',\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " 'data': [['Type','Counter'],<xsl:for-each select=\"counters[@type="resqtype"]/counter\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " </script>\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " <xsl:variable name=\"target\">\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " <xsl:value-of select=\"@name\"/>\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " </xsl:variable>\n"
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence " <div class=\"pie\" id=\"chart_outgoing_queries_view_{$target}\">[no data to display]</div>\n"
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence " </xsl:if>\n"
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrence " <table class=\"counters\">\n"
08e57545c2b1068080f5bf317224160426801406Brian Wellington " <xsl:for-each select=\"counters[@type="resqtype"]/counter\">\n"
7554feaef6057f5ea2926076900ac7634b911456Mark Andrews " <xsl:sort select=\".\" data-type=\"number\" order=\"descending\"/>\n"
40e7c805a8f38ad9b20dd6c688496fc09fc971c2Mark Andrews " <xsl:variable name=\"css-class1\">\n"
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence " <xsl:choose>\n"
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:otherwise>odd</xsl:otherwise>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " </xsl:choose>\n"
08e57545c2b1068080f5bf317224160426801406Brian Wellington " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <tr class=\"{$css-class1}\">\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:value-of select=\"@name\"/>\n"
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence " <xsl:value-of select=\".\"/>\n"
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence " </xsl:for-each>\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence " <xsl:if test=\"server/counters[@type="nsstat"]/counter[.>0]\">\n"
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence " <h2>Server Statistics</h2>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"system-property('xsl:vendor')!='Transformiix'\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <!-- Non Mozilla specific markup -->\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <script type=\"text/javascript\">\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " graphs.push({\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " 'title' : \"Server Counters\",\n"
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt " 'target': 'chart_server_nsstat_restype',\n"
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt " 'style': 'barchart',\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " 'data': [['Type','Counter'],<xsl:for-each select=\"server/counters[@type="nsstat"]/counter[.>0]\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </script>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <div class=\"pie\" id=\"chart_server_nsstat_restype\">[no data to display]</div>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <table class=\"counters\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:for-each select=\"server/counters[@type="nsstat"]/counter[.>0]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:sort select=\".\" data-type=\"number\" order=\"descending\"/>\n"
ce376a81fa674d240197628ceb6113a4fa5a1ab3Mukund Sivaraman " <xsl:variable name=\"css-class2\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:choose>\n"
d27343c5544b0473679503d839a793a5b567b503Mark Andrews " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <tr class=\"{$css-class2}\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\"@name\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </th>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\".\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </tr>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <br/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"server/counters[@type="zonestat"]/counter[.>0]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"system-property('xsl:vendor')!='Transformiix'\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <h2>Zone Maintenance Statistics</h2>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <script type=\"text/javascript\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " graphs.push({\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " 'title' : \"Zone Maintenance Stats\",\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " 'target': 'chart_server_zone_maint',\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " 'style': 'barchart',\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " 'data': [['Type','Counter'],<xsl:for-each select=\"server/counters[@type="zonestat"]/counter[.>0]\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </script>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <!-- Non Mozilla specific markup -->\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <div class=\"pie\" id=\"chart_server_zone_maint\">[no data to display]</div>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <table class=\"counters\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:for-each select=\"server/counters[@type="zonestat"]/counter\">\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <xsl:sort select=\".\" data-type=\"number\" order=\"descending\"/>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:variable name=\"css-class3\">\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <xsl:choose>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:choose>\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " </xsl:variable>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <tr class=\"{$css-class3}\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\"@name\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </th>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\".\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </tr>\n"
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt " </xsl:for-each>\n"
e851ea826066ac5a5b01c2c23218faa0273a12e8Evan Hunt " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"server/counters[@type="resstat"]/counter[.>0]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <h2>Resolver Statistics (Common)</h2>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <table class=\"counters\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:for-each select=\"server/counters[@type="resstat"]/counter\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:sort select=\".\" data-type=\"number\" order=\"descending\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:variable name=\"css-class4\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:choose>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <xsl:otherwise>odd</xsl:otherwise>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:variable>\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <tr class=\"{$css-class4}\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <xsl:value-of select=\"@name\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\".\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:for-each select=\"views/view\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"counters[@type="resstats"]/counter[.>0]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <h3>Resolver Statistics for View <xsl:value-of select=\"@name\"/></h3>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <table class=\"counters\">\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <xsl:for-each select=\"counters[@type="resstats"]/counter[.>0]\">\n"
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox User " <xsl:sort select=\".\" data-type=\"number\" order=\"descending\"/>\n"
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox User " <xsl:variable name=\"css-class5\">\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " </xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <tr class=\"{$css-class5}\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:value-of select=\"@name\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\".\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </tr>\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:for-each select=\"views/view\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"counters[@type="adbstat"]/counter[.>0]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <h3>ADB Statistics for View <xsl:value-of select=\"@name\"/></h3>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <table class=\"counters\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:for-each select=\"counters[@type="adbstat"]/counter[.>0]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:sort select=\".\" data-type=\"number\" order=\"descending\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:variable name=\"css-class5\">\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <tr class=\"{$css-class5}\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\"@name\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </th>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\".\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </tr>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:for-each select=\"views/view\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"counters[@type="cachestats"]/counter[.>0]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <h3>Cache Statistics for View <xsl:value-of select=\"@name\"/></h3>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <table class=\"counters\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:for-each select=\"counters[@type="cachestats"]/counter[.>0]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:sort select=\".\" data-type=\"number\" order=\"descending\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:variable name=\"css-class5\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <tr class=\"{$css-class5}\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\"@name\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </th>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:value-of select=\".\"/>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </xsl:for-each>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </table>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </xsl:if>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </xsl:for-each>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:for-each select=\"views/view\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:if test=\"cache/rrset\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <h3>Cache DB RRsets for View <xsl:value-of select=\"@name\"/></h3>\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <table class=\"counters\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:for-each select=\"cache/rrset\">\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <xsl:variable name=\"css-class6\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:choose>\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " </xsl:variable>\n"
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews " <tr class=\"{$css-class6}\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <xsl:value-of select=\"name\"/>\n"
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox User " <xsl:value-of select=\"counter\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </tr>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <br/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"server/counters[@type="sockstat"]/counter[.>0]\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <h2>Socket I/O Statistics</h2>\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <table class=\"counters\">\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " <xsl:for-each select=\"server/counters[@type="sockstat"]/counter[.>0]\">\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " <xsl:variable name=\"css-class7\">\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " <xsl:choose>\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " </xsl:choose>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </xsl:variable>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <tr class=\"{$css-class7}\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:value-of select=\"@name\"/>\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " <xsl:value-of select=\".\"/>\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " </xsl:for-each>\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"views/view[zones/zone/counters[@type="qtype"]/counter >0]\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <h2>Received QTYPES per view/zone</h2>\n"
a3fb84bd1b6a56585c0d8181f2ab0338b0cf852fTinderbox User " <xsl:for-each select=\"views/view[zones/zone/counters[@type="qtype"]/counter >0]\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <h3>View <xsl:value-of select=\"@name\"/></h3>\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " <xsl:variable name=\"thisview\">\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " <xsl:value-of select=\"@name\"/>\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " </xsl:variable>\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " <xsl:for-each select=\"zones/zone\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <xsl:if test=\"counters[@type="qtype"]/counter[count(.) > 0]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <h4>Zone <xsl:value-of select=\"@name\"/></h4>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <xsl:if test=\"system-property('xsl:vendor')!='Transformiix'\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <!-- Non Mozilla specific markup -->\n"
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt " <script type=\"text/javascript\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " graphs.push({\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " 'title': \"Query types for zone <xsl:value-of select=\"@name\"/>\",\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " 'target': 'chart_qtype_<xsl:value-of select=\"../../@name\"/>_<xsl:value-of select=\"@name\"/>',\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " 'style': 'barchart',\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " 'data': [['Type','Counter'],<xsl:for-each select=\"counters[@type="qtype"]/counter[.>0 and @name != "QryAuthAns"]\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </script>\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <xsl:variable name=\"target\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\"@name\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <div class=\"pie\" id=\"chart_qtype_{$thisview}_{$target}\">[no data to display]</div>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <table class=\"counters\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <xsl:for-each select=\"counters[@type="qtype"]/counter\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <xsl:sort select=\".\"/>\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <xsl:variable name=\"css-class10\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <tr class=\"{$css-class10}\">\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <xsl:value-of select=\"@name\"/>\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <xsl:value-of select=\".\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </tr>\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " </xsl:for-each>\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:for-each>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"views/view[zones/zone/counters[@type="rcode"]/counter >0]\">\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <h2>Response Codes per view/zone</h2>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:for-each select=\"views/view[zones/zone/counters[@type="rcode"]/counter >0]\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <h3>View <xsl:value-of select=\"@name\"/></h3>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:variable name=\"thisview2\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\"@name\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:for-each select=\"zones/zone\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"counters[@type="rcode"]/counter[. > 0]\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <h4>Zone <xsl:value-of select=\"@name\"/></h4>\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <xsl:if test=\"system-property('xsl:vendor')!='Transformiix'\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " <!-- Non Mozilla specific markup -->\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <script type=\"text/javascript\">\n"
31707708c585c53b61ca1edb2e224e6bb1b985a5Evan Hunt " graphs.push({\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " 'title': \"Response codes for zone <xsl:value-of select=\"@name\"/>\",\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " 'target': 'chart_rescode_<xsl:value-of select=\"../../@name\"/>_<xsl:value-of select=\"@name\"/>',\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " 'style': 'barchart',\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " 'data': [['Type','Counter'],<xsl:for-each select=\"counters[@type="rcode"]/counter[.>0 and @name != "QryAuthAns"]\">['<xsl:value-of select=\"@name\"/>',<xsl:value-of select=\".\"/>],</xsl:for-each>]\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " </script>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:variable name=\"target\">\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " <xsl:value-of select=\"@name\"/>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </xsl:variable>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <div class=\"pie\" id=\"chart_rescode_{$thisview2}_{$target}\">[no data to display]</div>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <table class=\"counters\">\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <xsl:for-each select=\"counters[@type="rcode"]/counter[.>0 and @name != "QryAuthAns"]\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:sort select=\".\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:variable name=\"css-class11\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <tr class=\"{$css-class11}\">\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"@name\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\".\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " </xsl:for-each>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " </table>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " </xsl:if>\n"
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt " </xsl:for-each>\n"
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:if>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:if test=\"socketmgr/sockets/socket\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <h2>Network Status</h2>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <table class=\"netstat\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <th>ID</th>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <th>Name</th>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <th>Type</th>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <th>References</th>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <th>LocalAddress</th>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <th>PeerAddress</th>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <th>State</th>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:for-each select=\"socketmgr/sockets/socket\">\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:sort select=\"id\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:variable name=\"css-class12\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " </xsl:choose>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <tr class=\"{$css-class12}\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\"id\"/>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <xsl:value-of select=\"name\"/>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:value-of select=\"type\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"references\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"local-address\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"peer-address\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:for-each select=\"states\">\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\".\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " </xsl:for-each>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " </xsl:for-each>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " </table>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " </xsl:if>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:if test=\"taskmgr/thread-model/type\">\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <h2>Task Manager Configuration</h2>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <table class=\"counters\">\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <th class=\"even\">Thread-Model</th>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"taskmgr/thread-model/type\"/>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <tr class=\"odd\">\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <th>Worker Threads</th>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"taskmgr/thread-model/worker-threads\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <tr class=\"even\">\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <th>Default Quantum</th>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:value-of select=\"taskmgr/thread-model/default-quantum\"/>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <tr class=\"odd\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <th>Tasks Running</th>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:value-of select=\"taskmgr/thread-model/tasks-running\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt " <tr class=\"even\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <th>Tasks Ready</th>\n"
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt " <xsl:value-of select=\"taskmgr/thread-model/tasks-ready\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt " </table>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </xsl:if>\n"
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt " <xsl:if test=\"taskmgr/tasks/task\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <h2>Tasks</h2>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <table class=\"tasks\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <th>ID</th>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <th>Name</th>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <th>References</th>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <th>State</th>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <th>Quantum</th>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <th>Events</th>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:for-each select=\"taskmgr/tasks/task\">\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:sort select=\"name\"/>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:variable name=\"css-class14\">\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <xsl:choose>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <xsl:otherwise>odd</xsl:otherwise>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </xsl:choose>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " </xsl:variable>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <tr class=\"{$css-class14}\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\"id\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"name\"/>\n"
b7e40659efd6cf6f5e6b3b1f904f16f74efb0d16Evan Hunt " <xsl:value-of select=\"references\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"state\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <xsl:value-of select=\"quantum\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:value-of select=\"events\"/>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " </xsl:for-each>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <br/>\n"
1a076410c260ff1d3124ce8b7e22ac111e9cf92aEvan Hunt " </xsl:if>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:if test=\"memory/summary\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <h2>Memory Usage Summary</h2>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <table class=\"counters\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:for-each select=\"memory/summary/*\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:variable name=\"css-class13\">\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:choose>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:otherwise>odd</xsl:otherwise>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " </xsl:choose>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </xsl:variable>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <tr class=\"{$css-class13}\">\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:value-of select=\"name()\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </th>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\".\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " </xsl:for-each>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </table>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <br/>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " </xsl:if>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:if test=\"memory/contexts/context\">\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <h2>Memory Contexts</h2>\n"
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User " <table class=\"mctx\">\n"
1a076410c260ff1d3124ce8b7e22ac111e9cf92aEvan Hunt " <th>ID</th>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <th>Name</th>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <th>References</th>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <th>TotalUse</th>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <th>InUse</th>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <th>MaxUse</th>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <th>BlockSize</th>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <th>Pools</th>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <th>HiWater</th>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <th>LoWater</th>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:for-each select=\"memory/contexts/context\">\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " <xsl:sort select=\"total\" data-type=\"number\" order=\"descending\"/>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:variable name=\"css-class14\">\n"
3911e7610f29dc664cbe8336f35c0652cd74652eMark Andrews " <xsl:choose>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:when test=\"position() mod 2 = 0\">even</xsl:when>\n"
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt " <xsl:otherwise>odd</xsl:otherwise>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " </xsl:choose>\n"
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt " </xsl:variable>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <tr class=\"{$css-class14}\">\n"
1a076410c260ff1d3124ce8b7e22ac111e9cf92aEvan Hunt " <xsl:value-of select=\"id\"/>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " </td>\n"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb " <xsl:value-of select=\"name\"/>\n"
127a4a90b0d03ebf55ad44d25f75b30c3a6fb728Evan Hunt " <xsl:value-of select=\"references\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"total\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"inuse\"/>\n"
d9f0c713fe1d50f1848ca827c5f31db79d904f04Evan Hunt " <xsl:value-of select=\"maxinuse\"/>\n"
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews " <xsl:value-of select=\"blocksize\"/>\n"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence " <xsl:value-of select=\"pools\"/>\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " <xsl:value-of select=\"hiwater\"/>\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " <xsl:value-of select=\"lowater\"/>\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " </xsl:for-each>\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " </xsl:if>\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff " <p class=\"footer\">Internet Systems Consortium Inc.<br/><a href=\"http://www.isc.org\">http://www.isc.org</a></p>\n"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater " </xsl:template>\n"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff "</xsl:stylesheet>\n";