I'd like to use typeperf or logman to process and/or log some basic system health information on a PC (running WinXP), but I can't find a description of common performance counters, just "typeperf -q" and I get a bunch of stuff that isn't really self-explanatory.

Are these functions documented somewhere?

  • What up fellow NH-ite! – Tim Jan 11 '12 at 21:54

Are you aware of the official Microsoft documentation of the available perfmon counters?

  • 1
    Thanks. No, I wasn't aware of them. MSDN docs are dismal and poorly linked; I found out about typeperf & logman from finding this answer serverfault.com/a/140978/3221 but that logpage is lame in the extreme, and no docs on typeperf seem to reference the link you posted. Thanks. (and a big fat raspberry to Redmond, WA for 20+ years of crappy documentation) – Jason S Jan 11 '12 at 23:20

You can easily gain access to the performance counters and their meaning by launching Perfmon.exe

By default, Perfmon.exe under XP gives you three bottlenecks to observe, Memory pages per second, Disk average queue length, and percent processor time.

Clicking the + near the top of the page gives you performance objects (like processor, or memory) and specific counters that you can select and add to the graph. Choose one and click the 'Explain' button. The 'Explain' window opens, and gives information about what is monitored.

Typeperf.exe -q extracts counters from the same place that perfmon.exe does. For instance, in perfmon.exe, object processor and counter % processor time translate into this counter in typeperf.exe:

typeperf.exe "\Processor(*)\% Processor Time"

The asterix means 'all counters', and typerf will give you each numbers for instance and a total (think of a two processor computer).

If you have the rights, and are connected, you can specify a remote computer, using a unc:

typeperf.exe "\\mycomputer\Processor(*)\% Processor Time"

Remember to use quotes around counters with spaces.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.