Windows System Monitor
Windows also has a set of tools that provide similar capabilities to the UNIX vmstat
and iostat
utilities, through the Windows System Monitor—originally called the Performance Monitor, and the command line to run it is still named perfmon
. This utility lets you see live views of system activity that includes functional replacements for all of the OS-level monitoring tools described previously.
Note
It's possible to disable the performance counters that track disk activity on a Windows server, and they defaulted to off in the earlier versions than are common now. To check that they're turned on, run the diskperf
command. You can enable them by running diskperf –y
.
Here is a translation table that suggests the Windows counters that correspond to the UNIX ones discussed previously:
Windows Counter |
UNIX Equivalent |
---|---|
Processor\% Processor Time |
100% - vmstat %idle |
Processor\% Idle Time |
vmstat %idle |
Processor\% Privileged... |