記憶體集區未分頁的位元組數: 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>