Name
diskperf
Synopsis
Enables disk performance counters for the Performance console (see Performance).
Syntax
diskperf [-y[d|v] | -n[d|v] ] [\\computername
]
Options
-
none
Displays current status of disk performance counters on local machine.
-
computername
Specifies computer on which to view or set disk performance counters. (The default is local machine.)
-
-y
Enables disk performance counters for both physical and logical drives upon rebooting.
-
-yd
Enables disk performance counters for physical drives only upon rebooting (new to Windows 2000).
-
-yv
Enables disk performance counters for logical drives only upon rebooting (new to Windows 2000).
-
-n
Disables disk performance counters for both physical and logical drives upon rebooting.
-
-nd
Disables disk performance counters for physical drives only upon rebooting (new to Windows 2000).
-
-nv
Disables disk performance counters for logical drives only upon rebooting (new to Windows 2000).
Examples
Enable both physical and logical disk performance counters on the local machine upon rebooting:
diskperf -y
Both Logical and Physical Disk Performance counters on this system are now set
to start at boot.
Notes
By default, only physical disk performance counters are enabled;
logical counters must be specifically enabled. If you change the
default setting, you can later restore them with
diskperf
-yd
.
See Also
Get Windows 2000 Administration in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.