Reguła wydajności Pamięć .NET CLR\Czas wyrzucania elementów bezużytecznych (\%)

Microsoft.Windows.InternetInformationServices.6.2.DotNetCLRMemoryPercentageOfTimeInGC (Rule)

Czas wyrzucania elementów bezużytecznych (\%) to procent czasu, który był poświęcony na wyrzucanie elementów bezużytecznych od ostatniego cyklu tego działania. Ten licznik zwykle jest wskaźnikiem pracy polegającej na zbieraniu i kompaktowaniu pamięci, która została wykonana na rzecz aplikacji przez moduł zbierający elementy bezużyteczne. Licznik jest aktualizowany tylko na koniec każdego cyklu wyrzucania elementów bezużytecznych i wskazuje ostatnią ustaloną wartość (a nie średnią).

Knowledge Base article:

Podsumowanie

Ta reguła umożliwia zbieranie danych licznika wydajności Pamięć .NET CLR \ Czas działania modułu GC (%)

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryPerformanceCollection
EnabledFalse
Instance Name.NET CLR Memory
Counter Name\% Time in GC
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<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>