How to identify process ID in PerfMon

Last time I need to troubleshoot memory leak in IIS process hosted on productions server I decided to start with PerfMon and got stuck on Add Counters screen, where I saw seventeen w3wp (IIS process name) processes up to w3wp#17.

Here for the demo I used two instances of the same console application. It is enough to get the idea.

Add Counters

It occurs that there are some advice how to identify PID of the process, most of them about changing registry settings, and it  does not always help.

Others suggest to use third-party tools to match PerfMon process identification with real PID.

I used another solution. Add another performance counter, like on the screen below.

Add Counters 2016-03-22 22.59.16

Now I have possibility to identify that process I was interested in was #1.

Performance Monitor 2016-03-22 23.03.39

Happy using PerfMon. It is amazing!

This entry was posted in SysInternals and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.