monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EXTERNAL] Restart apps based on total system CPU usage


From: Lutz Mader
Subject: Re: [EXTERNAL] Restart apps based on total system CPU usage
Date: Thu, 18 Feb 2021 22:28:01 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Hello Mike,
you are right, if there are some forks then this is the only/best option
and is easy/safe to implement.

> The issue I have with checking the app itself is that it forks into many
> different children to perform the work so no single app is using all the
> CPU. What I want to check for is if the total system usage is BELOW a
> certain threshold, restart the parent app.

With regards,
Lutz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]