We do have multiple sites hosted on same server with multiple appdomain. I am trying to read perfmon for specific site "Request/Sec" (Any many other). What I encountered is name of instance is not user friendly in Perfmon Monitor. Is there any mapping between W3WP to LM_W3SVC_#_ROOT (Please see screenshot for more details). I tried appcmd, looked into several blogs but no luck. So was wondering if someone knows more about it than it would be really helpful.
Update:
Does it come from C:\Windows\System32\inetsrv\config\applicationHost.config? If yes is there any way to give it better name in perfmon monitor? If no than still my original question exist :)
In _LM_W3SVC_N_ROOT, the N is the site id in IIS. You can easily find this by opening IIS Manager (Internet Information Services (IIS) Manager). Expand the computer and then sites. To the right of each site, you'll see an ID value.
For w3wp#N, it's a bit harder to track this down. The first w3wp instance to run is called "w3wp". Every other instance will be "w3wp#N". The N in this case IS NOT the N from above. It is simply a sequential number. There is a counter called \Process\ID Process. That will identify the process id of the "w3wp#N"instance you're looking at.
You'll then need to either:
Both methods will list out the IIS site and it's associated w3wp.exe process ID.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With