perfmon

What is the best way to interpret Perfmon analysis into application specific observations/data?

Many of us have used Perfmon tool to do performance analysis. Especially with .Net counters, but there are so many variables going on in Perfmon, that it always becomes hard to interpret Perfmon results in to valuable feedback about my application. I want to use perfmon, (not a tool like Ants Profiler etc) but how do I accurately interpr...

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? ...

Java app performance counters viewed in Perfmon

Hello, 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? ...

Performance monitor shows 4294967293 sessions active

I have an ASP.Net 3.5 website running in IIS 6 on Windows Server 2003 R2. It is a relatively small internal application that probably serves less than ten users at any given time. The server has 4 Gig of memory and shows that 3+ Gig is available while the site is active. Just minutes after restarting the web application Performance mo...

Why does perfmon fail to give available memory and what are the alternatives?

I am trying to get reliable information on when my C# application (Windows XP) will run out of memory. I did some research and tests on my machine and picked the most reliable perfmon counters: Memory.Pages Output/sec Memory.Available Bytes I use thresholds and AND operator and it works quite well, but on the client machine (also Wind...

Windows 2003 Performance Alerts Threshold

I have an app that has quite a bit of instrumentation via the Performance Monitor. The Performance Alerts are working fine, but I have a requirement for an alert threshold that I can't seem to figure out. I do not want to write a custom app to make it happen. There is a counter that I need to alert on when the value == zero over a 60 mi...

How can I use Performance Counter in w2k8

Hello Problem: I can add+use performance counters in w2k8 with normal user privileges. If I try to create or access a Process performance counter, i get a message that the counter does not exist. Same thing can be tried out in a powershell, a message appears that the counter does not exist. If I do the same thing as Administrator ac...

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 instances != number of connections in our case. ...

Memory consumption details of a .NET application

I am debugging some memory problems related to a managed application that we have. I was monitoring the application using perfmon when I got confused about the memory difference between the .NET Bytes in All Heaps and the Working Set reported in Process Explorer (Mem Usage column in case of Task Manager). The Bytes in all heaps counter d...

Missing processor/memory counters in the Windows XP Performance Monitor application (perfmon)

Perfmon is a Windows utility that helps the developer to find bottlenecks in his applications, by measuring system counters. I was reading a perfmon tutorial and from this list of essential counters I have found the following ones on my machine: PhysicalDisk\Bytes/sec_Total Network Interface\Bytes Total/Sec\nic name But I haven't fo...

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 pool is restarting, but I want to get to the bottom as to why this is occurring. ...

Perfmon won't run any more

Today I broke perfmon... :( I can start the application, the three default counters (cpu, mem, disk) are there, but the graph won't move. The Data Source is set to "Current Activity", the "Freeze Display" button is not pressed. I just rebooted, started perfmon, and no moving graph. I tried restoring the counters using C:\WINDOWS\syst...

How can I guarantee the w3wp process exists before turning on perfmon logging?

I have a batch script I run before our performance tests that does some pre-test setup on our server; it clears log files, starts the proper services, restores the database, sets some app settings and turns on perfmon logging. My problem; the w3wp process we need to monitor is not always present at the time we turn on perfmon logging. I...

automating some basic perfmon functionality

I need to do performance baslining on a number of servers, not owned by me. To make it easy for server owners i want to write an app that will: Take a standard perfmon xml/html config file containing counters and open it in perfmon so that perfmon will record the data for the counters in the config file. As the servers are windows ser...

CPU Utiliztion per process in Win32 API

I am doing a project on a centralized LAN management system. I need to know how many CPU cycles is each process of a remote PC consuming(as in a Task Manager )so that the network admin can close few processes,in case the CPU utilization of a system in network goes beyond acceptable rates.. I would like to know if there is a Win32 API fo...

Where can I find documentation for publishing data to perfmon in C++?

Years ago I wrote some code to "publish" data for perfmon to consume. Using those counters is pretty well documented, but I found it challenging to find (at the time) good documentation and sample code to publish the data for perfmon. Does anyone know where I can get this documentation? I also seem to recall some class wrappers, but I m...

Problem with performance counters on Vista

I'm running into a strange issue on Vista with the Performance monitoring API. I'm currently using code that worked fine on XP/2k, based around PdhGetFormattedCounterValue(). I start out using PdhExpandWildCardPath to expand the counters (I'm interested in overall network statistics), the counters I'm looking at are: \\Network Interf...

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 issuing I/O operations that are neither read nor write operations (for example, a co...

Performance Counter Logs - Migrating lots of them from Win 2000 to Win 2003

Hi all I have a bunch of performance counter logs setup on a Windows 2000 machine that I would like to move lock, stock and barrel to a Win 2003 machine on the same network. I can't see a way to export that details of all the perf logs and import them, so any ideas on where to look under C:\WINNT for the raw perf log configurations wo...

IIS worker process: Cache % Process Memory Used is more than 100 %, how is this possible??

PerfMon counter : Cache % Process Memory Used is more than 100 % . How is this possible?? Note : only one worker process was running, hosting one website. ...