The problem is -- I have to manually complete these steps for each test run assuming my load test causes an automatic recycle of the application pool (OR if the test server is restarted or an iisreset happens).

Is there an easier way to setup a Counter Log with the specific counters I want that will automatically monitor the process I'm interested in. Obviously the site stays the same, its just the process that sometimes changes.

1 Answer
1

Okay, here's what I did. I made the registry tweak that displayed the PIDS in the Perfmon counter "instance" list. From here, I wrote a batch script that sent a request via TinyGet to the webserver in question (to make sure the IIS worker process was started) THEN ran the IISAPP command and simply searched for the PID of the application pool I was interested in. From there, I could use the PID in the Perfmon counters by name. Took a while, but worth it!