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
8
votes
1 answer

Performance Counters NextValue() Very Slow (1,000+ Counters)

In our application, we are using the Windows Performance Counters to store some of our application metrics, which are later retrieved in some web services. I'm having an issue with the amount of time it takes to read the value from the counters.…
trnelson
  • 2,605
  • 2
  • 21
  • 35
7
votes
1 answer

custom performance counter in c# / perfmon

Hi I am trying to to create a custom performance counter for use in perfmon. The following code works pretty well, however I have one problem.. With this solution I have a timer updating the value of the performance counter, however I would like to…
sreddy
  • 200
  • 2
  • 9
7
votes
1 answer

Monitoring ADO.NET Connection Open Time

We have a 3-tier application with a C# client, a C# WCF web service layer, and a SQL Server database. The web service connects to the database with ADO.NET. All of our C# code is using the .NET Framework 2.0. Recently, a customer performed a…
Paul Williams
  • 15,359
  • 5
  • 42
  • 81
7
votes
2 answers

Where are my Performance Counter? It is created but I can't see it in perfmon

I have this piece of code : Where I create my Performance Counter. It executes ok, if not exists it creates the performance counter as well, but I can't find this performance counter, when I use perfmon. What is happening? const string…
6
votes
2 answers

Concurrent open TCP connections in WCF service

We have a WCF service with multiple TCP endpoints. I am interested in monitoring the total number of concurrent open connections at any given time. Are there any perfmon counters that will allow us to do this out of the box? Note that number of…
Steve
6
votes
4 answers

Issues remoting to perfmon

Hey all, I'm having trouble with PerfMon on one system out of fifteen in a development environment. Accessing it from the local machine is fine but connecting to it remotely throws a "Cannot connect" error. Each machine is running Win 2003, is…
brainwood
  • 1,521
  • 2
  • 10
  • 14
6
votes
2 answers

How to reset Performance objects in perfmon?

When I launch perfmon and try to add a counter, the displayed performance objects are all numbers. How can I reset these Performance objects?
sthiers
  • 3,371
  • 5
  • 31
  • 45
6
votes
2 answers

Why this code is not causing memory leak?

I wanted to simulate memory leak in my application. I write following code, and tried to see in perfmon. int main() { int *i; while(1) { i = (int *) malloc(1000); //just to avoid lazy allocation *i = 100; …
Pranit Kothari
  • 8,997
  • 10
  • 55
  • 128
6
votes
4 answers

What is the most appropriate performance counter type for measuring operation time?

Say I have a method Foo() and I want to measure the time in milliseconds it took to execute which type of Windows Performance Counter should I be using? var stopwatch = new Stopwatch(); stopwatch.Start(); Foo(); stopwatch.Stop(); counter.RawValue =…
Muhammad Hasan Khan
  • 33,106
  • 14
  • 80
  • 125
6
votes
2 answers

Using Performance Monitor to monitor pooled connections

I'm investigating this error from a MVC3 application that is failing under load: "The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was…
VincentH
  • 93
  • 1
  • 2
  • 6
6
votes
1 answer

what's the difference between perf command and perfmon2 or libpfm4

recently I am digging things around performance counter. And I googled up the perfmon2 and libpfm4 http://perfmon2.sourceforge.net/ and I also found perf command https://perf.wiki.kernel.org/index.php/Main_Page and shipped out with linux's kernel…
dotcomXY
  • 1,528
  • 15
  • 18
5
votes
4 answers

Custom SQL Server performance counters

I need to create several counters for a system health check and monitoring. Since there are numerous tools for logging, reporting and alerting Windows Perfmon data, I am looking to publish that data as Perfmon counters. Some of the values need to…
5
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
  • 51
  • 1
  • 4
5
votes
2 answers

Measuring FLOPs of an application with the linux perf tool

I want to measure the ammount of floating point and arithmetic operations executed by some application with 'perf', the new command line interface command to the linux performance counter subsystem. (For testing purposes I use a simple dummy app…
5
votes
5 answers

Java app performance counters viewed in Perfmon

I have a Java app running on Tomcat, and I would like to monitor counters using Windows Performance Monitor. Is this possible using a JMX adapter for the Java MBeans or by some other means?
Jon
1
2
3
19 20