Closed HunnyPuns closed 2 months ago
Using Get-Process in check_process.ps1 is a problem. The CPU metric that it returns is the amount of CPU time, not the CPU usage.
Putting this right here for reference.
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-process?view=powershell-7.4
Fixed in da74f8a
Using Get-Process in check_process.ps1 is a problem. The CPU metric that it returns is the amount of CPU time, not the CPU usage.