Monday, September 7, 2009

How to display all performance counters in console

Just run into this today – I am writing some scripts for Citrix License server and wanted to see which performance counters are available…

Turned out to be pretty simple – just use “TypePerf” command with –q:

   1: C:\Users\Martin>typeperf -q | more

   2: \TBS counters\CurrentResources

   3: \TBS counters\CurrentContexts

   4: \WSMan Quota Statistics(*)\Active Users

   5: \WSMan Quota Statistics(*)\Active Operations

   6: \WSMan Quota Statistics(*)\Active Shells

   7: ...

No comments: