邏輯磁碟平均磁碟佇列長度

Microsoft.Windows.Client.Win7.LogicalDisk.AvgDiskQueueLength.Collection (Rule)

收集效能計數器 LogicalDisk\Avg Disk Queue Length

Knowledge Base article:

摘要

此規則收集 Logical Disk\Current Disk Queue Length 效能計數器的效能資料。此資訊會收集並公開在一或多個檢視及/或報表中。

Logical Disk\Avg. Disk Queue Length 效能計數器會顯示取樣間隔時間內在佇列中對於所選磁碟的平均讀寫要求數。

Element properties:

TargetMicrosoft.Windows.Client.Win7.LogicalDisk
CategoryPerformanceCollection
EnabledFalse
Instance NameLogicalDisk
Counter NameAvg. Disk Queue Length
Frequency900
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.Client.Win7.LogicalDisk.AvgDiskQueueLength.Collection" Enabled="false" Target="Win7!Microsoft.Windows.Client.Win7.LogicalDisk">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Avg. Disk Queue Length</CounterName>
<ObjectName>LogicalDisk</ObjectName>
<InstanceName>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Tolerance>1</Tolerance>
<ToleranceType>Absolute</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>