Running perfmon continuously with periodic reports

Posted by Sal on Server Fault See other posts from Server Fault or by Sal
Published on 2012-09-19T20:57:48Z Indexed on 2012/09/20 3:39 UTC
Read the original article Hit count: 530

I have a question very similar to this one, but I want to continuously run perfmon, during reboots and throughout the day. Further, I'd like to generate a perfmon report every 10 mins or so. The original question tells me how to run perfmon when the server is restarted, but I don't know how to make perfmon continuously run while throwing periodic files.

I've tried setting it as a scheduled task that needs to be done every 10 mins, but this is too sloppy, and when the scheduled task kicks another instance, the current perfmon report writer crashes, and I get a garbage report. I've also tried writing a sloppy batch script that would fire off the task at scheduled intervals, but this is the same problem as the scheduled task. I'm sure I'm just missing something silly, but I don't see it.

Ideas? (If it helps, I'm running Windows 7 locally, and I'm trying to set up the processes for boxes running Windows 2008.)

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about windows-7