Performance Analysis of Logs (PAL) is a nifty utility that will read in a performance counter log, analyze the data against customizable XML files with many built in counter thresholds, and then display the information in a HTML report.
You can find PAL Here:
http://www.codeplex.com/PAL
PAL only needs to be installed on the system that you are going to process the logs for not the System you are monitoring. Go ahead download and install PAL and it’s prerequisites (Log Parser 2.2 & Microsoft Office Web Components 2003). I wait till you’re done.
Now that PAL is installed we need to setup some Counter Logs on the system we want to analyze. To do this go to Start then run and type Perfmon. Go into Performance Logs and Alerts right-click Counter Logs and choose New Log Settings…
For a general system overview add the following counter objects:
LogicalDisk
Memory
Network Interface
PhysicalDisk
Process
Processor
System
TCPv4
Change the interval to something like 60 Seconds and click OK.
After saving the counter log settings, it should automatically start collecting data. You can tell if it’s running because the icon will be green.
Once the Counter Logs has been running for a sufficient amount of time go ahead and stop the logger. At this point, you’ll want to copy the log file to the system that you installed PAL on.
Sidenote:
PAL does come with VBScripts for creating these counters on the fly. These are located C:\Program Files\PAL\PAL v1.3.4.2\PerfmonLogScripts .
Syntax:
cscript CreateAndStartPerfmonLogs.vbs <computer[;computer]> <ServerType> <CounterListFilePath>
<computer[;computer]> List of computers to create and start the perfmon log.
<ServerType> Text description to be added to the log name.
<CounterListFilePath> File containing the list of perfmon counters.
Example:
Open a command window and change directory to C:\Program Files\PAL\PAL v1.3.4.2\PerfmonLogScripts.
cscript CreateAndStartPerfmonLogs.vbs myserver sysoverview CounterList_SystemOverview.txt
OK now back to Analyzing the Counter File:
Go ahead and open the PAL GUI and Click Next
On the Counter Log Screen you’ll want to browse out to the Log file we created earlier and click Next.
On the Threshold File screen Verify that the System Overview threshold file is selected. After and answering the Question Variables Names section in the lower left, Click Next.
Click Next to accept the defaults on the Analysis Interval screen:
Customize the name and location of the output report on the Output Options Screen and click Next
The Queue Page displays the queued commands that the wizard has built Click Next to move to the final screen
On the Execute Screen verify Execute: Execute what is in the queue. is selected and choose Finish.
At this point PAL will kick off a VBScript that will slice and dice up the log file and generate a detailed report. The report will highlight any thresholds that were exceeded, at the top of the report in the alerts section, and contains charts and suggested resolutions information for many of the counters analyzed.