What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

Runtime of a process



I need to monitor how long a process runs. Usually it rund 2 Second, but some time it runs for hours. an i need to know when that happens.

any ideas?

process-monitoring prtg run-time

Created on Mar 8, 2013 11:34:49 AM

1 Reply

Accepted Answer



You can use a WMI Process Sensor. It has one channel called "instances". It is the number of times the process is running.

Since the sensor returns a error if no process with this name is found you need to create a "dummy" process with the same name that is always running (but requires no resources).

Then the instances will show a 1 for not running (only the dummy process) and 2 and above if the process is running.

You can then set a notification if this channel is bigger than 1 with a latency of e.g. 15min. Then you will get a notification if the process is running longer than 15min.

Created on Mar 11, 2013 9:39:27 AM by  Jens Rupp [Paessler Support]

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.