affer Posted March 24, 2015 Posted March 24, 2015 can i set up a rule to restart a service (program) when it have been using less then for example 0.5% for 20 minutes? thanks.
Staff Chris Posted March 24, 2015 Staff Posted March 24, 2015 Hi Rasmus, The only supported condition for services in the Rules system is service status which includes: Stopped Started Paused Pausing Starting Stopping If you want to restart a windows service if it's using less than 0.5% of the CPU you could do a simple C# plugin that reads a performance counter for a process and restarts the service (read cpu usage performance counter - link and restart a windows service - link). Regards, Chris Pulseway Supoprt
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now