Commit 037b8b12 authored by Automatic Updater's avatar Automatic Updater
Browse files

regen

parent 6716d12c
/*
* Generated by convertxsl.pl 1.9 2007/09/14 06:14:44 marka Exp
* From bind9.xsl 1.14 2008/03/31 05:00:29 marka Exp
* Generated by convertxsl.pl 1.10 2008/04/02 03:35:13 marka Exp
* From bind9.xsl 1.15 2008/04/01 23:47:10 tbox Exp
*/
static char msg[] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!-- - Copyright (C) 2006, 2007 Internet Systems Consortium, Inc. (\"ISC\") - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED \"AS IS\" AND ISC DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE.--><!-- \045Id: bind9.xsl,v 1.14 2008/03/31 05:00:29 marka Exp \045 --><xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns=\"http://www.w3.org/1999/xhtml\"><xsl:template match=\"isc/bind/statistics\"><html><head><style type=\"text/css\">body { font-family: sans-serif; background-color: #ffffff; color: #000000;}table { border-collapse: collapse;}tr.rowh { text-align: center; border: 1px solid #000000; background-color: #8080ff; color: #ffffff;}tr.row { text-align: right; border: 1px solid #000000; background-color: teal; color: #ffffff;}tr.lrow { text-align: left; border: 1px solid #000000; background-color: teal; color: #ffffff;}.header { background-color: teal; color: #ffffff; padding: 4px;}.content { background-color: #ffffff; color: #000000; padding: 4px;}.item { padding: 4px; align: right;}.value { padding: 4px; font-weight: bold;} </style><title>BIND 9 Statistics</title></head><body><div class=\"header\">Bind 9 Configuration and Statistics</div><br/><table><tr class=\"rowh\"><th colspan=\"2\">Times</th></tr><tr class=\"lrow\"><td>boot-time</td><td><xsl:value-of select=\"server/boot-time\"/></td></tr><tr class=\"lrow\"><td>current-time</td><td><xsl:value-of select=\"server/current-time\"/></td></tr></table><br/><table><tr class=\"rowh\"><th colspan=\"2\">Server statistics</th></tr><xsl:for-each select=\"server/counters/*\"><tr class=\"lrow\"><td><xsl:value-of select=\"name()\"/></td><td><xsl:value-of select=\".\"/></td></tr></xsl:for-each></table><br/><xsl:for-each select=\"views/view\"><table><tr class=\"rowh\"><th colspan=\"11\">Zones for View <xsl:value-of select=\"name\"/></th></tr><tr class=\"rowh\"><th>Name</th><th>Class</th><th>Serial</th><th>Success</th><th>Referral</th><th>NXRRSET</th><th>NXDOMAIN</th><th>Recursion</th><th>Failure</th><th>Duplicate</th><th>Dropped</th></tr><xsl:for-each select=\"zones/zone\"><tr class=\"lrow\"><td><xsl:value-of select=\"name\"/></td><td><xsl:value-of select=\"rdataclass\"/></td><td><xsl:value-of select=\"serial\"/></td><td><xsl:value-of select=\"counters/success\"/></td><td><xsl:value-of select=\"counters/referral\"/></td><td><xsl:value-of select=\"counters/nxrrset\"/></td><td><xsl:value-of select=\"counters/nxdomain\"/></td><td><xsl:value-of select=\"counters/recursion\"/></td><td><xsl:value-of select=\"counters/failure\"/></td><td><xsl:value-of select=\"counters/duplicate\"/></td><td><xsl:value-of select=\"counters/dropped\"/></td></tr></xsl:for-each></table><br/></xsl:for-each><br/><table><tr class=\"rowh\"><th colspan=\"7\">Network Status</th></tr><tr class=\"rowh\"><th>ID</th><th>Name</th><th>Type</th><th>References</th><th>LocalAddress</th><th>PeerAddress</th><th>State</th></tr><xsl:for-each select=\"socketmgr/sockets/socket\"><tr class=\"lrow\"><td><xsl:value-of select=\"id\"/></td><td><xsl:value-of select=\"name\"/></td><td><xsl:value-of select=\"type\"/></td><td><xsl:value-of select=\"references\"/></td><td><xsl:value-of select=\"local-address\"/></td><td><xsl:value-of select=\"peer-address\"/></td><td><xsl:for-each select=\"states\"><xsl:value-of select=\".\"/></xsl:for-each></td></tr></xsl:for-each></table><br/><table><tr class=\"rowh\"><th colspan=\"2\">Task Manager Configuration</th></tr><tr class=\"lrow\"><td>Thread-Model</td><td><xsl:value-of select=\"taskmgr/thread-model/type\"/></td></tr><tr class=\"lrow\"><td>Worker Threads</td><td><xsl:value-of select=\"taskmgr/thread-model/worker-threads\"/></td></tr><tr class=\"lrow\"><td>Default Quantum</td><td><xsl:value-of select=\"taskmgr/thread-model/default-quantum\"/></td></tr><tr class=\"lrow\"><td>Tasks Running</td><td><xsl:value-of select=\"taskmgr/thread-model/tasks-running\"/></td></tr></table><br/><table><tr class=\"rowh\"><th colspan=\"5\">Tasks</th></tr><tr class=\"rowh\"><th>ID</th><th>Name</th><th>References</th><th>State</th><th>Quantum</th></tr><xsl:for-each select=\"taskmgr/tasks/task\"><tr class=\"lrow\"><td><xsl:value-of select=\"id\"/></td><td><xsl:value-of select=\"name\"/></td><td><xsl:value-of select=\"references\"/></td><td><xsl:value-of select=\"state\"/></td><td><xsl:value-of select=\"quantum\"/></td></tr></xsl:for-each></table><br /><table><tr class=\"rowh\"><th colspan=\"4\">Memory Usage Summary</th></tr><xsl:for-each select=\"memory/summary/*\"><tr class=\"lrow\"><td><xsl:value-of select=\"name()\"/></td><td><xsl:value-of select=\".\"/></td></tr></xsl:for-each></table><br /><table><tr class=\"rowh\"><th colspan=\"10\">Memory Contexts</th></tr><tr class=\"rowh\"><th>ID</th><th>Name</th><th>References</th><th>TotalUse</th><th>InUse</th><th>MaxUse</th><th>BlockSize</th><th>Pools</th><th>HiWater</th><th>LoWater</th></tr><xsl:for-each select=\"memory/contexts/context\"><tr class=\"lrow\"><td><xsl:value-of select=\"id\"/></td><td><xsl:value-of select=\"name\"/></td><td><xsl:value-of select=\"references\"/></td><td><xsl:value-of select=\"total\"/></td><td><xsl:value-of select=\"inuse\"/></td><td><xsl:value-of select=\"maxinuse\"/></td><td><xsl:value-of select=\"blocksize\"/></td><td><xsl:value-of select=\"pools\"/></td><td><xsl:value-of select=\"hiwater\"/></td><td><xsl:value-of select=\"lowater\"/></td></tr></xsl:for-each></table></body></html></xsl:template></xsl:stylesheet>\n";
static char msg[] =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<!--\n"
" - Copyright (C) 2006-2008 Internet Systems Consortium, Inc. (\"ISC\")\n"
" -\n"
" - Permission to use, copy, modify, and/or distribute this software for any\n"
" - purpose with or without fee is hereby granted, provided that the above\n"
" - copyright notice and this permission notice appear in all copies.\n"
" -\n"
" - THE SOFTWARE IS PROVIDED \"AS IS\" AND ISC DISCLAIMS ALL WARRANTIES WITH\n"
" - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n"
" - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,\n"
" - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n"
" - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n"
" - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n"
" - PERFORMANCE OF THIS SOFTWARE.\n"
"-->\n"
"\n"
"<!-- \045Id: bind9.xsl,v 1.15 2008/04/01 23:47:10 tbox Exp \045 -->\n"
"\n"
"<xsl:stylesheet version=\"1.0\"\n"
" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n"
" xmlns=\"http://www.w3.org/1999/xhtml\">\n"
" <xsl:template match=\"isc/bind/statistics\">\n"
" <html>\n"
" <head>\n"
" <style type=\"text/css\">\n"
"body {\n"
" font-family: sans-serif;\n"
" background-color: #ffffff;\n"
" color: #000000;\n"
"}\n"
"\n"
"table {\n"
" border-collapse: collapse;\n"
"}\n"
"\n"
"tr.rowh {\n"
" text-align: center;\n"
" border: 1px solid #000000;\n"
" background-color: #8080ff;\n"
" color: #ffffff;\n"
"}\n"
"\n"
"tr.row {\n"
" text-align: right;\n"
" border: 1px solid #000000;\n"
" background-color: teal;\n"
" color: #ffffff;\n"
"}\n"
"\n"
"tr.lrow {\n"
" text-align: left;\n"
" border: 1px solid #000000;\n"
" background-color: teal;\n"
" color: #ffffff;\n"
"}\n"
"\n"
".header {\n"
" background-color: teal;\n"
" color: #ffffff;\n"
" padding: 4px;\n"
"}\n"
"\n"
".content {\n"
" background-color: #ffffff;\n"
" color: #000000;\n"
" padding: 4px;\n"
"}\n"
"\n"
".item {\n"
" padding: 4px;\n"
" align: right;\n"
"}\n"
"\n"
".value {\n"
" padding: 4px;\n"
" font-weight: bold;\n"
"}\n"
" </style>\n"
" <title>BIND 9 Statistics</title>\n"
" </head>\n"
" <body>\n"
" <div class=\"header\">Bind 9 Configuration and Statistics</div>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\"><th colspan=\"2\">Times</th></tr>\n"
" <tr class=\"lrow\">\n"
" <td>boot-time</td>\n"
" <td><xsl:value-of select=\"server/boot-time\"/></td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>current-time</td>\n"
" <td><xsl:value-of select=\"server/current-time\"/></td>\n"
" </tr>\n"
" </table>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\"><th colspan=\"2\">Server statistics</th></tr>\n"
" <xsl:for-each select=\"server/counters/*\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name()\"/></td>\n"
" <td><xsl:value-of select=\".\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
"\n"
" <br/> \n"
"\n"
" <xsl:for-each select=\"views/view\">\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"11\">Zones for View <xsl:value-of select=\"name\"/></th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>Name</th>\n"
" <th>Class</th>\n"
" <th>Serial</th>\n"
" <th>Success</th>\n"
" <th>Referral</th>\n"
" <th>NXRRSET</th>\n"
" <th>NXDOMAIN</th>\n"
" <th>Recursion</th>\n"
" <th>Failure</th>\n"
" <th>Duplicate</th>\n"
" <th>Dropped</th>\n"
" </tr>\n"
" <xsl:for-each select=\"zones/zone\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"rdataclass\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"serial\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/success\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/referral\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/nxrrset\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/nxdomain\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/recursion\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/failure\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/duplicate\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/dropped\"/>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br/>\n"
" </xsl:for-each>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"7\">Network Status</th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>ID</th>\n"
" <th>Name</th>\n"
" <th>Type</th>\n"
" <th>References</th>\n"
" <th>LocalAddress</th>\n"
" <th>PeerAddress</th>\n"
" <th>State</th>\n"
" </tr>\n"
" <xsl:for-each select=\"socketmgr/sockets/socket\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"id\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"type\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"references\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"local-address\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"peer-address\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:for-each select=\"states\">\n"
" <xsl:value-of select=\".\"/>\n"
" </xsl:for-each>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br/>\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"2\">Task Manager Configuration</th>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Thread-Model</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/type\"/>\n"
" </td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Worker Threads</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/worker-threads\"/>\n"
" </td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Default Quantum</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/default-quantum\"/>\n"
" </td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Tasks Running</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/tasks-running\"/>\n"
" </td>\n"
" </tr>\n"
" </table>\n"
" <br/>\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"5\">Tasks</th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>ID</th>\n"
" <th>Name</th>\n"
" <th>References</th>\n"
" <th>State</th>\n"
" <th>Quantum</th>\n"
" </tr>\n"
" <xsl:for-each select=\"taskmgr/tasks/task\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"id\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"references\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"state\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"quantum\"/>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br />\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"4\">Memory Usage Summary</th>\n"
" </tr>\n"
" <xsl:for-each select=\"memory/summary/*\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name()\"/></td>\n"
" <td><xsl:value-of select=\".\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br />\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"10\">Memory Contexts</th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>ID</th>\n"
" <th>Name</th>\n"
" <th>References</th>\n"
" <th>TotalUse</th>\n"
" <th>InUse</th>\n"
" <th>MaxUse</th>\n"
" <th>BlockSize</th>\n"
" <th>Pools</th>\n"
" <th>HiWater</th>\n"
" <th>LoWater</th>\n"
" </tr>\n"
" <xsl:for-each select=\"memory/contexts/context\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"id\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"references\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"total\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"inuse\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"maxinuse\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"blocksize\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"pools\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"hiwater\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"lowater\"/>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
"\n"
" </body>\n"
" </html>\n"
" </xsl:template>\n"
"</xsl:stylesheet>\n";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment