Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
What up fellow NH-ite! –  Tim Jan 11 '12 at 21:54

2 Answers 2

up vote 1 down vote accepted

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

share|improve this answer
    
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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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