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: HolisticDeveloper **
Is there a way in the PowerShell threshold cold to divide the value by the number of CPUs?
Comments: ** Comment from web user: HolisticDeveloper **
Given that I'm not super familiar with PowerShell, how should the threshold code be modified? Here is the existing code in the threshold:
StaticThreshold -CollectionOfCounterInstances $CollectionOfProcessPercentPrivilegedTimesqlservr -Operator 'gt' -Threshold 20