Monitoring Performance Thresholds
Windows performance counters allow your applications and components to publish, capture, and analyze the performance data that applications, services, and drivers provide. You can use this information to determine system bottlenecks and fine-tune system and application performance. For example, you might use a performance counter to track the amount of time required to process an order or query a database, or you might monitor the size of a message queue and write code that performs a specific action whenever the queue reaches a preset limit.
Using the PerformanceCounter component and language features in Visual Studio and the .NET Framework SDK, you can easily connect to performance counters on both local and remote computers and retrieve values from these counters. You can also write values to existing custom counters (those created with the .NET Framework) on the local computer and create your own custom counters on computers that have Windows installed.
In This Section
- Introduction to Monitoring Performance Thresholds
-
Provides basic information on performance counter features.
- How to: Create PerformanceCounter Component Instances
-
Gives directions for creating instances of and configuring PerformanceCounter components in your projects.
- How to: Configure PerformanceCounter Component Instances
-
Describes how to set properties for the PerformanceCounter components you create.
- Category and Counter Management
-
Describes the processes for creating, deleting, and querying performance counters and the categories that classify them.
- How to: Write Values to Performance Counters
-
Gives instructions for incrementing or decrementing a performance counter's value.
- Performance Counter Value Retrieval
-
Explains the process of reading values from and writing values to a counter.
| Topic | Location |
|---|---|
| How to: Work with Performance Counters in Server Explorer | Server Components in Visual Studio |
| Performance Counter Walkthroughs | Server Components in Visual Studio |
| How to: Work with Performance Counters in Server Explorer | |
| Performance Counter Walkthroughs | |
| How to: Work with Performance Counters in Server Explorer | Server Components in Visual Studio |
| Performance Counter Walkthroughs | Server Components in Visual Studio |