GC'de Harcanan \% Zaman, son GC dönüşünden beri atık toplama (GC) işleminde harcanan zamanı yüzde olarak gösterimidir. Bu sayaç, genellikle belleği toplayıp sıkıştırma işini uygulama adına yapan Atık Toplayıcı'nın gerçekleştirdiği işin bir göstergesidir. Bu sayaç yalnızca her GC işleminden sonra güncelleştirilir ve sayaçta son gözlenen değer okunur; bu, ortalama bir değer değildir.
Bu kural .NET CLR Bellek \ GC'de Harcanan % Zaman performans sayacını toplar
Target | Microsoft.Windows.InternetInformationServices.6.2.WebServer |
Category | PerformanceCollection |
Enabled | False |
Instance Name | .NET CLR Memory |
Counter Name | \% Time in GC |
Frequency | 300 |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | System.Performance.OptimizedDataProvider | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.DotNetCLRMemoryPercentageOfTimeInGC" Enabled="false" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Time in GC</CounterName>
<ObjectName>.NET CLR Memory</ObjectName>
<InstanceName>_Global_</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>4</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>