I have a process that runs occasionally but often errors and uses high amounts of CPU. I'd like to monitor the process for high CPU usage which is easy enough, but if the process isn't running it can't be found and I get an error to this effect.
Is there a way to only monitor a process if the process is running - maybe pausing the process in the meantime or something like that?
Thanks, Paul
Dear Paul,
I'm afraid this is not possible with the standard WMI Process Sensor, but you could try adapting the solution from the following article: How can I monitor the memory usage of Windows Processes without alarms?
best regards.
Nov, 2011 - Permalink