Consequently, the main purpose this utility serves on
later systems is to let you see which performance counters Windows provides, which is still a useful
function when you want to monitor these counters at the command line.
The DiskPerf utility can also temporarily disable the performance counters. You can use this feature
with older applications that rely on the Windows Application Programming Interface (API)
IOCTL_DISK_PERFORMANCE() function to retrieve raw counter information (see the description of
this function at http://msdn2.microsoft.com/en-us/library/aa365183.aspx). Don??™t reboot
the system when you disable the counters because the effect is temporary; rebooting the machine
simply removes the effect. This utility uses the following syntax:
DISKPERF [-Y[D|V] | -N[D|V]] [\\computername]
The following list describes each of the command line arguments.
MANAGING THE FILE SYSTEM WITH THE FLTMC UTILITY 235
-Y Sets the system to start all performance counters when you start the system on older systems.
This command line switch restarts all of the disk performance counters on Windows 2000
and above systems. The performance counters always start automatically on these systems after
a reboot.
Pages:
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585