Questions tagged [perfmon]

A tool used to launch Performance Monitor for Microsoft Windows.

A tool used to launch Performance Monitor for Microsoft Windows.

Performance Monitor is an MMC (Microsoft Management Console) snap-in used to view Microsoft Windows performance data, and configure performance metrics tracking.

More information on perfmon.exe here, and on Performance Monitor here.

297 questions
26
votes
1 answer

How to measure memory usage for a Live ASP.NET MVC web application?

So right off the bat, not sure if this question is better suited for another StackExchange site. I've got an ASP.NET MVC 3 web application running on Windows Server 2008 and IIS 7.5 Site runs fine initially, but i can see the memory usage gradually…
RPM1984
  • 72,246
  • 58
  • 225
  • 350
25
votes
2 answers

Creating a PerfMon counter to record an average per call (C#)

How can I use PerfMon counters to record the average execution time of a method in C#? So far I've only found sample code to incrememnt or decrement a PerfMon counter.
Justin
  • 84,773
  • 49
  • 224
  • 367
21
votes
2 answers

Perfmon counters to check memory leak

I want to check the memory leakage issue in my service. I have tried following set of perfmon counters. .NET CLR Memory\# Bytes in all Heaps .NET CLR Memory\Gen 2 Heap Size .NET CLR Memory\# GC handles .NET CLR Memory\# of Pinned Objects …
18
votes
2 answers

How to open .coverage file

I have created a .coverage file using Vsperfmon.exe I am currently using VS 2012 professional for web licensed edition. The .coverage result cannot be opened in VS Professional. After Googling I have come to know that VS Ultimate can open it Rather…
Robert_Junior
  • 1,122
  • 1
  • 18
  • 40
17
votes
6 answers

Why can't perfmon see instances of my custom performance counter?

I'm creating some custom performance counters for an application. I wrote a simple C# tool to create the categories and counters. For example, the code snippet below is basically what I'm running. Then, I run a separate app that endlessly…
spoulson
  • 21,335
  • 15
  • 77
  • 102
16
votes
2 answers

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 this I'm using System.Diagnostics.PerformanceCounterCategory.GetCategories() which seems like it works, until you…
Mikkel Løkke
  • 3,710
  • 23
  • 37
10
votes
1 answer

IO Other Operations Performance Counter Explanation

I have received perfmon counters from customer site. We noticed unusual values in \\COMPUTERNAME\Process(PROCESS_NAME)\**IO Other Operations/sec**. The best explanation for the counter I came up with is:- The average rate at which the process is…
Boris
  • 1,311
  • 13
  • 39
10
votes
4 answers

Perfmon .blg file specification / parsing library

Where can I find a detailed, low-level spec for the Perfmon binary .blg file format? Or even better, has anyone written a low level, open source library (preferably in C, but any language would do) for parsing .blg files?
Andreas Jansson
  • 3,137
  • 2
  • 30
  • 40
9
votes
1 answer

Strange values in data collector set

I'm collecting some performance data on various virtual machines. The DataCollectorSet is initialized as follows: set.Subdirectory = set.name; set.SubdirectoryFormat = AutoPathFormat.plaYearMonthDay; var schedule =…
Sören Kuklau
  • 19,454
  • 7
  • 52
  • 86
9
votes
1 answer

PerformanceCounterCategory.GetCategories() throws exception ArgumentException - Invalid value '' for parameter 'categoryName'

When I try to run this code: var categories = System.Diagnostics.PerformanceCounterCategory.GetCategories(); I get an ArgumentException exception. I already tried the following with no luck: How to manually rebuild Performance Counter Library…
8
votes
3 answers

Trying to disable Processor idle states (C states) on Windows PC

I need to prevent the processor from entering an idle state (non C0 C state). Admittedly I do not know much about processor C and P states so bear with me. We use a camera from a third party vendor which occasionally delivers corrupted frames. The…
mash
  • 467
  • 7
  • 14
8
votes
1 answer

What are the best perfmon counters for an ASP.net application?

What are the best performance monitors one can set to monitor an asp.net application? I don't have direct access to the server in question, so I sort of have to explicitly ask for certain things other wise they do not happen. My hunch is that my app…
rifferte
  • 1,392
  • 1
  • 13
  • 21
8
votes
1 answer

How to debug a 0xc0000409 error in PerfMon.dll? / AssemblyBinding

Problem description I am trying to debug a problem on a customer's server (Win 2012R2) where one of our .NET Web Applications is hosted in their IIS (version 8.5.9600.16384). Recently, one of our technical supports changed a minor internal setting…
M.Rueck
  • 81
  • 1
  • 4
8
votes
2 answers

Get PerformanceCounter by Index

I want to access the "Processor Time %" counter in an application which runs on systems with different localizations. To do so, I want to access the counter by its index, which is guaranteed to be unique (see…
Tho Mai
  • 835
  • 5
  • 25
8
votes
1 answer

ASP Counters - difference between similarly named counters in different counter 'buckets'

Best way to ask this question is by way of example.. Take counters \ASP.NET\Request Execution Time & \ASP.NET\Request Wait Time There are counters with the same name in the ASP.NET Applications bucket \ASP.NET Applications\Request Execution Time…
Dave Lawrence
  • 3,843
  • 2
  • 21
  • 35
1
2 3
19 20