Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm doing performance/load testing of my IIS6/Win2K3 server. I setup perfom by adding performance counters for the specific site I'm interested in (ie. w3wp#7).

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.

Any help would be great for productivity.

Thanks!

jg

share|improve this question
add comment

migrated from stackoverflow.com Aug 2 '11 at 15:13

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 0 down vote accepted

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!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.