内存池非分页字节数(Windows Server 2016 及更高版本)

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

收集性能计数器 Memory\Pool Nonpaged Bytes

Knowledge Base article:

摘要

此规则收集 Memory\Pool Nonpaged Bytes 性能计数器的性能数据。

Physical Disk\Pool Nonpaged Bytes 性能计数器显示非分页池的大小(字节),非分页池指供无法写入磁盘、但一旦分配就必须保留在物理内存中的对象使用的系统内存区域(操作系统使用的物理内存)。 Memory\Pool Nonpaged Bytes 的计算方式与 Process\Pool Nonpaged Bytes 不同,因此,它可能不等于 Process\Pool Nonpaged Bytes\_Total。 此计数器仅显示上次观察的值;该值不是平均值。

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
CategoryPerformanceCollection
EnabledTrue
Instance NameMemory
Counter NamePool Nonpaged Bytes
Frequency600
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.MemoryPoolNonPagedBytes.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>Pool Nonpaged Bytes</CounterName>
<ObjectName>Memory</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>600</Frequency>
<Tolerance>2000000</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>6</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>