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.

287 questions
25
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
  • 69,608
  • 55
  • 212
  • 331
24
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
  • 80,106
  • 47
  • 208
  • 350
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 …
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
  • 20,523
  • 14
  • 72
  • 101
15
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,032
  • 1
  • 14
  • 37
14
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,439
  • 20
  • 34
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
  • 2,758
  • 2
  • 25
  • 36
9
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,039
  • 9
  • 33
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
  • 18,090
  • 5
  • 45
  • 82
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
  • 375
  • 5
  • 13
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,379
  • 1
  • 13
  • 21
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…
thomai
  • 716
  • 3
  • 24
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,634
  • 2
  • 19
  • 34
8
votes
2 answers

Can you open perfmon.exe, clear any current counts and add your custom app counters?

Can you open perfmon.exe, clear any current counts and add your custom app counters from C#? Thinking there about perfmon API but I can't find it.
CodingHero
  • 2,505
  • 5
  • 23
  • 41
1
2 3
19 20