3
Vote

Error to process performance counters

description

Overall progress... Status: Calculating counter statistics [very CPU intensive]..., PAL 2.7.5 Progress: 65%... Calculating counter statistics [very CPU intensive]...,

An error occurred on...
$iPercentComplete = ConvertToDataType $(($iIndexOfJobs / $iTotalJobs) * 100) 'integer'
At C:\Program Files\PAL\PAL.ps1:2293 char:65 + $iPercentComplete = ConvertToDataType $(($iIndexOfJobs / <<<< $iTotalJobs) * 100) 'integer'
Attempted to divide by zero.


SCRIPT ARGUMENTS:
Log: E:\MOOCQA_20160614-000001\Performance Counter.blg
ThresholdFile: C:\Users\STRESS~1\AppData\Local\Temp\PalAutoDetectThresholdFile_6044cead-e722-4f1a-9965-dbcd0e57458f.xml
AnalysisInterval: AUTO
IsOutputHtml: $True
IsOutputXml: $False
HtmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm
XmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml
OutputDir: [My Documents]\PAL Reports
AllCounterStats: $True
NumberOfThreads: 2
IsLowPriority: $True
DisplayReport: True

comments

jol1185 wrote Jul 27, 2016 at 5:11 PM

Im having the same issue with the recent version of PAL Tool. Can anyone provide resolution on this?

jol1185 wrote Jul 27, 2016 at 5:12 PM

Overall progress... Status: Calculating counter statistics [very CPU intensive]..., PAL 2.7.4 Progress: 65%... Calculating counter statistics [very CPU intensive]...,

An error occurred on...
$iPercentComplete = ConvertToDataType $(($iIndexOfJobs / $iTotalJobs) * 100) 'integer'
At C:\Program Files\PAL\PAL\PAL.ps1:2289 char:49 + $iPercentComplete = ConvertToDataType $(($iIndexOfJobs / $iTotalJobs) * ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Attempted to divide by zero.


SCRIPT ARGUMENTS:
Log: C:\Users\ma.olivir.k.p.lazaro\Desktop\VRTVDxxxxxx\891334_VRTVDxxxxxx_DiskMetrics_07252016.blg
ThresholdFile: C:\Users\MAOLIV~1.LAZ\AppData\Local\Temp\PalAutoDetectThresholdFile_d2b03889-d5db-4722-88d2-b209a0f57fb0.xml
AnalysisInterval: AUTO
IsOutputHtml: $True
IsOutputXml: $False
HtmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm
XmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml
OutputDir: C:\Users\ma.olivir.k.p.lazaro\Desktop\VRTVDxxxxxx
AllCounterStats: $False
NumberOfThreads: 4
IsLowPriority: $True
DisplayReport: True

ClintH wrote Jul 28, 2016 at 12:08 AM

Sorry, looks like a bug. This can happen if none of the counters have matched. The counter matching is in English, so ensure that the counter log was recorded in English.

ddg8885 wrote Oct 19, 2016 at 3:16 PM

Can the code be updated to show which counters did not match? I am using the Quick System Overview template found in the PAL tool, and still getting the divide by zero error. It is all in US-English. I like the tool, but it's been difficult to get past this error.

ClintH wrote Oct 19, 2016 at 8:27 PM

I added code to show the unmatched counters, but left it out. In the meantime, you can uncomment the section with "Incomplete Analyses" in PAL.ps1 to see if that works for you.