DISKPERF
(diskperf)
DISKPERF [-Y[D|V] | -N[D|V]] [\\computername]
-Y 在系统重新启动时,将系统设为开启所有磁盘性能计数器。
-YD 在系统重新启动时,启用物理驱动器的磁盘性能计数器。
-YV 当系统重新启动时,启用逻辑驱动器的磁盘性能计数器或存储数值。
-N 当系统重新启动时,将系统设为禁用所有磁盘性能计数器。
-ND 禁用物理驱动器的磁盘性能计数器。
-NV 禁用逻辑驱动器的磁盘性能计数器。
\\computername 这是您想见的计算机名或设定使用磁盘性能计数器。
计算机必须是 Windows 2000 系统。
注意: 磁盘性能计数器在 Windows 2000 以后的系统上总是处于启用状态。
DISKPERF [-Y[D|V] | -N[D|V]] [\\computername]
-Y Sets the system to start all disk performance counters when the system is restarted.
-YD Enables the disk performance counters for physical drives. when the system is restarted.
-YV Enables the disk performance counters for logical drives or storage volumes when the system is restarted.
-N Sets the system to disable all disk performance counters when the system is restarted.
-ND Disables the disk performance counters for physical drives.
-NV Disables the disk performance counters for logical drives.
\\computername Is the name of the computer you want to see or set disk performance counter use.
The computer must be a Windows 2000 system.
NOTE: Disk performance counters are permanently enabled on systems beyond Windows 2000.