/usr/share/bcfg2/xsl-transforms/timing-summary-www.xsl is in bcfg2-server 1.2.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:include href="xsl-transform-includes/html-templates.xsl" />
<xsl:include href="xsl-transform-includes/main-js.xsl" />
<xsl:include href="xsl-transform-includes/sorttable-js.xsl" />
<xsl:include href="xsl-transform-includes/boxypastel-css.xsl" /> <xsl:output method="xml" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="Report">
<html>
<head>
<title>
BCFG Performance Timings
</title>
<xsl:if test="count(/Report/@refresh-time) > 0">
<META HTTP-EQUIV="Refresh" CONTENT="{@refresh-time}"/>
</xsl:if>
<xsl:copy-of select="$boxypastel-css" />
<xsl:copy-of select="$main-js" />
<xsl:copy-of select="$sorttable-js" />
</head>
<body bgcolor="#ffffff">
<div class="header">
<h1>
BCFG Performance Timings
</h1><span class="notebox">Report Run @ <xsl:value-of select="@time" /></span>
</div>
<br/>
<center>
<table id="t1" class="sortable">
<tr>
<th class="sortable">Hostname</th>
<th class="sortable">Parse</th>
<th class="sortable">Probe</th>
<th class="sortable">Inventory</th>
<th class="sortable">Install</th>
<th class="sortable">Config</th>
<th class="sortable">Total</th>
</tr>
<xsl:apply-templates select="Node">
<xsl:sort select="Client/@name" order="ascending"/>
<xsl:sort select="@name"/>
</xsl:apply-templates>
</table>
</center>
<br/>
<br/>
<p>
<a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a>
</p>
</body>
</html>
</xsl:template>
<xsl:template match="Node">
<xsl:if test="count(Statistics/OpStamps) > 0">
<tr>
<td class="sortable"><xsl:value-of select="Client/@name" /></td><!--node name-->
<td class="sortable"><xsl:value-of select="format-number(number(Statistics/OpStamps/@config_parse - Statistics/OpStamps/@config_download),'#.##')"/></td><!--parse-->
<td class="sortable"><xsl:value-of select="format-number(number(Statistics/OpStamps/@probe_upload - Statistics/OpStamps/@start),'#.##')"/></td><!--probe download-->
<td class="sortable"><xsl:value-of select="format-number(number(Statistics/OpStamps/@inventory - Statistics/OpStamps/@initialization),'#.##')"/></td><!--inventory-->
<td class="sortable"><xsl:value-of select="format-number(number(Statistics/OpStamps/@install - Statistics/OpStamps/@inventory),'#.##')"/></td><!--install-->
<td class="sortable"><xsl:value-of select="format-number(number(Statistics/OpStamps/@config_parse - Statistics/OpStamps/@probe_upload),'#.##')"/></td><!--config download & parse-->
<td class="sortable"><xsl:value-of select="format-number(number(Statistics/OpStamps/@finished - Statistics/OpStamps/@start),'#.##')"/></td><!--Total-->
</tr>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
|