Introduction to Performance Monitor Logs
Creating and interpreting logs is the key to monitoring your Windows 2003 servers and
network performance. The logs are the central blank in your strategy to
discover and remove bottlenecks from your system. This page concentrates on creating a log of your server's activity, however there are other tactics, for example, creating Alerts.
Our first mission is to collect data about your server's
memory, processor, disks and network. In addition to monitoring the
Windows Server operating system, we often need to collect SQL and Exchange
counters. The benefit of creating a log is that we can analyse hours of performance
at leisure. The alternative of constantly watching the System Monitor soon
wears off.
Another advantage of studying logs rather than viewing System Monitor is
that you can use logs to track trends. If necessary, you can go back
months to confirm a change in resource usage. Moreover, if you keep old logs then
you can see precisely when a problem originated.
Performance Log Topics
Download my ebook: The Art and Science of Performance Monitoring
for only $5.25
Performance Monitor Logs
Whilst this page will show you how to create logs with Performance Monitor, it does assume that you are
familiar with Windows 2003's System Monitor interface. (See
here for a refresher)
The performance monitor log, holds all the counters of all the objects and that you wish to
track. The advantages of a log over the System Monitor is that the log
captures the data permanently in an actual file.
To create a log, open performance monitor, go down past System Monitor to
Performance Logs and Alerts, select Counter Logs. (See Diagram 1)
When the dialog box appears, give the log a meaningful name, for example
the name of the server or object. The first
time you save a log you are prompted to create a folder,
accept Perflogs as the directory name.
Next
you have a choice of button, either click on Add Objects or click on
Add Counters. Let us begin with Add Objects, because it is simpler
and you will not miss any instances. (See Diagram 2)
An old trick is to use the control key as you pick multiple counters.
Setting the time interval is tricky. The trade-off is event accuracy
versus log disk space. My advice is to leave the timing at the default 15 seconds - for now.
When you are ready, click the Add button (down at the bottom of
Diagram 2.) If you make a mistake you can always go back, select the log
Properties and adjust the selections.
I like the way that as soon as you have finished creating a log, the icon
color turns from red to green.
You probably guessed that a Right Click followed by Start or Stop, acts like a
tap turning the log collection on or off.
With experience, you
can be more choosy and pick only Counters you really need. The
benefits of selectivity are, that you will quickly find the data in the log,
and that the log will consume less disk space.
Leave the log for 5
minutes and then move on to the next section - viewing your log.
Diagram 1 (Above)

Diagram 2 (Above)
Guy
recommends: The Free IP SLA Monitor
The IP SLA Monitor offers so much more than just discovering network
bottlenecks, the real joy is learning about router traffic. See
how effortlessly this free monitor analyzes and displays the IP
statistics. The key to configuring this Monitor is selecting the data most
relevant to your network, for example, ping echo, DNS resolution times,
or HTTP statistics. As a result of a few hours of investigation is that you
can set alerts on key
indicators, then get on with the rest of your job.
Download your free copy of IP SLA Monitor
Logman
For those who like the command prompt, there is a utility called: logman.
Personally, I find the syntax too difficult for regular use, but I agree with
'Mad' Mick, you can use logman in batch files.
|