Windows-Process-Monitoring-Service
Introduction
· A very useful program to monitor the CPU usage/RAM usage/Running Status of a Windows process
· Kill and restart process when predefined thresholds are reached.
· XML easy one-step config
This program can be run as a Windows background service/daemon, to monitor a specific process in the Task Manager. When the target process uses high CPU/RAM, or accidently exits (due to exceptions), the process monitor will kill or restart the target process to ensure it is always running, which is especially useful to monitor the long-term running process for months or years.
Instructions
• Install Visual Studio 2019
• Running this program on Windows only - will not work on Linux
• Copy the tasks.xml to the Bin/Release or Bin/Debug folder - where your exe file exists
• Create the working folder, tracking file name, target application name and process name, e.g. exampleApp.exe and exampleApp process name, as configurable in the tasks.xml before running the program
• Change the thresholds of CPU/RAM usage in tasks.xml
• Build and run