物理磁盘每次写入磁盘的平均时间

Microsoft.Windows.Client.2000.PhysicalDisk.AvgDiskSecPerWrite.Collection (Rule)

收集性能计数器 PhysicalDisk\Avg.Disk sec/Write。

Knowledge Base article:

摘要

此规则收集 Physical Disk\Avg.Disk sec/Write 性能计数器的性能数据。收集此信息并显示一个或多个视图和/或报表。

Physical Disk\Avg.Disk sec/ Write 性能计数器显示平均磁盘写入的平均时间(以秒计)。

Element properties:

TargetMicrosoft.Windows.Client.2000.PhysicalDisk
CategoryPerformanceCollection
EnabledFalse
Instance NamePhysicalDisk
Counter NameAvg. Disk sec/Write
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.2000.PhysicalDisk.AvgDiskSecPerWrite.Collection" Enabled="false" Target="Microsoft.Windows.Client.2000.PhysicalDisk">
<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 sec/Write</CounterName>
<ObjectName>PhysicalDisk</ObjectName>
<InstanceName>$Target/Property[Type="WindowsClient!Microsoft.Windows.Client.PhysicalDisk"]/PerfmonInstance$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Tolerance>0.005</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>