4.2.19 Policy Collection Example
The following is an example of the Policy (section 2.2.5.21) XML element.
-
<?xml version="1.0"?> <?WSRM version="1.0"?> <Policy> <Policy Name="CliTest_Pol1"> <AllocationCriteria Name="CliTest_MC1"> <ProcessMatchingCriteria RefName="CliTest_MC1"/> <CPUAllocation> 10 </CPUAllocation> <MaximumWorkingSet> 110 </MaximumWorkingSet> <MaximumCommittedMemory> 100 </MaximumCommittedMemory> <CommittedMemoryExceededOption> TerminateApp </CommittedMemoryExceededOption> </AllocationCriteria> <AllocationCriteria Name="CliTest_MC2"> <ProcessMatchingCriteria RefName="CliTest_MC2"/> <CPUAllocation> 15 </CPUAllocation> <MaximumWorkingSet> 110 </MaximumWorkingSet> <MaximumCommittedMemory> 100 </MaximumCommittedMemory> <CommittedMemoryExceededOption> TerminateApp </CommittedMemoryExceededOption> </AllocationCriteria> </Policy> </Policy>
Additional XML data examples are specified in section 4.2.