Microsoft KB Archive/253251

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:16, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


Using Diskperf in Windows 2000

Article ID: 253251

Article Last Modified on 2/28/2007



APPLIES TO

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition



This article was previously published under Q253251

SUMMARY

This article describes how to use the Diskperf tool in Windows 2000.

MORE INFORMATION

In Windows NT 4.0 all disk counters for Performance Monitor were turned off by default. In Windows 2000 the Physical Disk object is turned on by default and the Logial Disk object is turned off by default.

To obtain performance counter data for logical drives or storage volumes, you must type diskperf -yv at the command prompt, and then press ENTER.

This causes the disk performance statistics driver used for collecting disk performance data to report data for logical drives or storage volumes. By default, the operating system uses the diskperf -yd command to obtain physical drive data.

The syntax for Diskperf is:

DISKPERF [-Y[D|V] | -N[D|V]] [\\computername]


   -Y  Sets the system to start all disk performance counters
       when you restart the computer.
   -YD Enables the disk performance counters for physical drives when you 
       restart the computer.
   -YV Enables the disk performance counters for logical drives
       or storage volumes when you restart the computer.
   -N  Sets the system to disable all disk performance counters when you 
       restart the computer.
   -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 counters to use.
                


Additional query words: perfmon perfctrs

Keywords: kbhowto KB253251