The threshold file for SQL Server includes the counter for _\Process(sqlservr)\% Privileged Time_, but the defined thresholds (20% and 30%) don't seem to account for having multiple CPUs in the system. For example, I am analyzing some logs from a 24-core box and PAL is worried about having an average value of 37% here. However, since it is across 24 cores it actually is a fairly small value.
Is there a way in the PowerShell threshold cold to divide the value by the number of CPUs?
Comments: ** Comment from web user: ClintH **
Is there a way in the PowerShell threshold cold to divide the value by the number of CPUs?
Comments: ** Comment from web user: ClintH **
Yes, you can use the $NumberOfProcessors variable in the code block of the thresholds. I *thought* I had this already in place in \Process(*)\% Processor Time analysis in SystemOverview.xml, but apparently it isn't there. I'll re-add it. In any case, yes, go ahead and change it.