tagged [performancecounter]
Monitoring batch requests per second on SQL Server through WMI
Monitoring batch requests per second on SQL Server through WMI I need to programmatically (.NET 3.5, C#) monitor a SQL Server 2008 machine through WMI. I want to measure the number of batch requests p...
- Modified
- 29 Sep at 11:58
Can a C# program measure its own CPU usage somehow?
Can a C# program measure its own CPU usage somehow? I am working on a background program that will be running for a long time, and I have a external logging program ([SmartInspect](http://www.gurock.c...
- Modified
- 9 Nov at 15:59
Why is my application becoming less responsive over time?
Why is my application becoming less responsive over time? I'm debugging a C# application that becomes almost unresponsive after a few days. The application calculates memory/CPU usage every second and...
- Modified
- 16 Dec at 06:11
How to get the number of CPU cycles used by a process
How to get the number of CPU cycles used by a process I have a need to get the number of CPU cycles used by a specific process using C# (or VB.Net). This information is available in the Process proper...
- Modified
- 29 Jun at 21:27
Performance Counter - System.InvalidOperationException: Category does not exist
Performance Counter - System.InvalidOperationException: Category does not exist I have following class that returns number of current Request per Second of IIS. I call RefreshCounters every minute in ...
- Modified
- 25 Nov at 06:6
What would make PerformanceCounterCategory.Exists hang indefinitely?
What would make PerformanceCounterCategory.Exists hang indefinitely? I've got an application that uses performance counters, that has worked for months. Now, on my dev machine and another developers m...
- Modified
- 17 Nov at 21:31
Counter of type RateOfCountsPerSecond32 always shows 0
Counter of type RateOfCountsPerSecond32 always shows 0 I have a windows service that serves messages of some virtual queue via a WCF service interface. I wanted to expose two performance counters - 1....
- Modified
- 10 Feb at 15:56
Performance counter CPU usage for current process is more than 100
Performance counter CPU usage for current process is more than 100 I want to display CPU usage for my multithread application (working over multicore processor). I want to receive numbers close to Tas...
- Modified
- 29 Feb at 17:18
PerformanceCounterCategory.GetCategories is inconsistent with Perfmon
PerformanceCounterCategory.GetCategories is inconsistent with Perfmon Okay, So I'm basically trying to create a list of installed Performance Counter Categories, like the one you get in PerfMon. For t...
- Modified
- 12 Apr at 12:21