There isn't many guidance online on perfmon schedule. Microsoft TechNet site provide a pretty comprehensive description on Windows Performance Monitor. However, it can get quite confusing configuring the schedule.
Once you launch the collection, unless you want to run it forever, you most likely have a strategy when the collection should stop. You can configure when it stops under the Stop Condition tab. The Overall duration determine how long a collection run. For example if you have 6 hours, then it would stop 6 hours after the schedule first start running. See I put first? Mean if you have overlap schedules, let say one schedule start at 1:00AM, and another schedule start at 2:00AM. If you set the overall duration to 2 hours, it stops at 3AM (2 hour after when it first run). Next is where it gets a little bit complicated. The limits is another way to stop the collection. You have two types of limit: Duration and Maximum Size. Whichever limit is reached first will stop the collection. There is one nice option Restart the data collector set at limit. It creates a separate log file once the limit hit. You want to configure the file name convention correctly, if not you will get an error. e.g. if you configure your file to not overwrite and not append, and it tries to create the same file name. Please notes that the overall duration override the limits. The Stop when all data collectors have finished option description is a little confusing. if you have configured overall duration, this option basically stop the collection once all the data collectors record its most recent values. Mean, as long as all your data collectors (if you have multiple) record a value, it will stop the collection. I still couldn't think of a use case for this purpose. If you do, please leave a comment below. I always leave this option unchecked.
That's pretty much for the schedule and stop condition for the performance monitor. Now start monitoring your server performance! Also check out how to use Logman make monitoring multiple servers easier.
No comments:
Post a Comment