home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / PLA / Rules / Rules.System.Performance.xml < prev    next >
Extensible Markup Language  |  2006-09-18  |  3KB  |  93 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?Copyright (c) Microsoft Corporation. All rights reserved.?>
  3. <Rules>
  4.   <Group name="$(GroupSummary)" enabled="true">
  5.     <Rule name="$(RuleNetworkSummary)">
  6.       <Step select="/Report/Section/Table[@name='tcpSendTable']" fatal="true">
  7.         <Exists>
  8.           <When expression="count(Item) > 0">
  9.             <Insert>
  10.               <Node>
  11.                 <Summary key="500" find="top" field="outbytes_sec" topic="tracerptNetwork">
  12.                   <Data name="machineoutbound" label="topNetworkOutbound"/>
  13.                   <Data name="outbytes_sec" label="topNetworkOutboundBytes" units="bytes" format="#,##0"/>
  14.                 </Summary>
  15.               </Node>
  16.             </Insert>
  17.           </When>
  18.         </Exists>
  19.       </Step>
  20.       <Step select="/Report/Section/Table[@name='tcpRecvTable']" fatal="true">
  21.         <Exists>
  22.           <When expression="count(Item) > 0">
  23.             <Insert>
  24.               <Node>
  25.                 <Summary key="500" find="top" field="inbytes_sec" topic="tracerptNetwork">
  26.                   <Data name="machineinbound" label="topNetworkInbound"/>
  27.                   <Data name="inbytes_sec" label="topNetworkInboundBytes" units="bytes" format="#,##0"/>
  28.                 </Summary>
  29.               </Node>
  30.             </Insert>
  31.           </When>
  32.         </Exists>
  33.       </Step>
  34.       <Step select="/Report/Section/Table[@name='sysHealthSummary']" fatal="true">
  35.         <Exists>
  36.           <Otherwise>
  37.             <Insert>
  38.               <Node>
  39.                 <Summary key="100" find="field" field="component" value="SysHealthNetComponent" topic="tracerptNetwork">
  40.                   <Data name="util" label="SysHealthUtilizationHdr"/>
  41.                 </Summary>
  42.               </Node>
  43.             </Insert>
  44.           </Otherwise>
  45.         </Exists>
  46.       </Step>
  47.     </Rule>
  48.     <Rule name="$(RuleMemorySummary)">
  49.       <Step select="/Report/Section[@name='tracerptHeader']/Table[@name='client']" fatal="true">
  50.         <Exists>
  51.           <Otherwise>
  52.             <Insert select=".">
  53.               <Node>
  54.                 <Summary find="field" field="memory" topic="memory" key="200">
  55.                   <Data name="memory"/>
  56.                 </Summary>
  57.               </Node>
  58.             </Insert>
  59.           </Otherwise>
  60.         </Exists>
  61.       </Step>
  62.     </Rule>
  63.     <Rule name="$(RuleDiskSummary)" enabled="true">
  64.       <Step select="/Report/Section/Table[@name='hotFile']">
  65.         <Exists>
  66.           <Otherwise>
  67.             <Delete select="Summary"/>
  68.           </Otherwise>
  69.         </Exists>
  70.       </Step>
  71.       <Step select="/Report/Section/Table[@name='physicalDiskCounters']" fatal="true">
  72.         <Exists>
  73.           <Otherwise>
  74.             <Insert>
  75.               <Node>
  76.                 <Summary key="100" find="field" field="counter" value="Avg. Disk Queue Length" topic="diskInfo">
  77.                   <Data name="max" label="diskQueue"/>
  78.                 </Summary>
  79.               </Node>
  80.             </Insert>
  81.           </Otherwise>
  82.         </Exists>
  83.       </Step>
  84.     </Rule>
  85.   </Group>
  86.   <StringTable>
  87.     <String ID="GroupSummary">Add Summary Blocks</String>
  88.     <String ID="RuleMemorySummary">Memory Summary</String>
  89.     <String ID="RuleDiskSummary">Disk Summary</String>
  90.     <String ID="RuleNetworkSummary">Network Summary</String>
  91.   </StringTable>
  92. </Rules>
  93.