16.2. Performance Counters

Windows performance counters are special objects supported by the operating system that allow applications and components to publish performance data. They also allow other applications to capture and analyze that published data. The performance data can be of any kind: ranging from the standard values of the percentage of CPU time that a program uses or the amount of memory that it has allocated to application-specific metrics like the number of transactions per minute a service is able to process. We can use the data provided by performance counters to identify system bottlenecks and fine-tune our application or system performance.

Performance counter data is available through a control panel application that is ...

Get Pro Windows PowerShell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.