每秒内存页数(Windows Server 2016 及更高版本)

Microsoft.Windows.Server.10.0.OperatingSystem.MemoryPagesPerSec.Collection (Rule)

收集性能计数器 Memory\Pages Reads/Sec。

Knowledge Base article:

摘要

此规则收集 Memory\Pages/sec 性能计数器的性能数据。

Physical Disk\Pages/sec 性能计数器显示为解决强制分页错误而从磁盘读取页面或将页面写入磁盘的速率。此计数器是导致系统范围延迟的错误种类的主要指示器。 它是 Memory\Pages Input/sec 和 Memory\Pages Output/sec 的合计。它以页数计数,因此无需转换就可与其他页计数比较,例如 Memory\Page Faults/sec。它包括为解决文件系统缓存的故障(通常由应用程序请求)和非缓存映射内存文件中的故障而检索的页面。

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
CategoryPerformanceCollection
EnabledTrue
Instance NameMemory
Counter NamePages/sec
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.OperatingSystem.MemoryPagesPerSec.Collection" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Pages/sec</CounterName>
<ObjectName>Memory</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>250</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>12</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>