Re: [EXTERNAL] Restart apps based on total system CPU usage
Lutz Mader <[email protected]> Thu, 18 Feb 2021 22:28:01 +0100
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Message-ID | <[email protected]> |
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