Monitor process that isn't always running
Modified on 2025-06-10 11:38:56 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Important: We no longer maintain this article. The information might be out of date.
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
Article Comments
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
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