monit-general
[Top][All Lists]
Advanced

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

Re: how exec a command


From: Pol Hallen
Subject: Re: how exec a command
Date: Wed, 12 Nov 2014 19:46:47 +0100
User-agent: SquirrelMail/1.4.21

sorry if I persist, also using "if totalcpu [...]" no emails starts...

I tried with ab to do a apache stress test

thanks for help

Pol

> check the logs to see if the apache cpu test matched. Note that apache
> usually uses fork process model and the real work is done by apache
> children => you may need to use the total cpu test:
>
>       if total cpu > 1% for 2 cycles then exec "/bin/bash -c 'top -bn1 | mail
> -s top address@hidden'"






reply via email to

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