monit-general
[Top][All Lists]
Advanced

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

Re: "total cpu" gives syntax error


From: Lutz Mader
Subject: Re: "total cpu" gives syntax error
Date: Wed, 17 Jul 2019 22:03:24 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Hello,
you are using "check system", but "total cpu" is in the sub chapter
"Process resource tests".

> TOTAL CPU is the total CPU usage of the process and its children in
> (percent). You will want to use TOTAL CPU typically for services like
> Apache web server where one master process forks child processes as
> workers. Example:
>
>  if total cpu > 50% for 10 cycles then restart

The "check system" check use "cpu usage", see sub chapter "System
resource tests"

With regards,
Lutz

p.s.
See https://mmonit.com/monit/documentation/monit.html#System-resource-tests
but not
https://mmonit.com/monit/documentation/monit.html#Process-resource-tests



reply via email to

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