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 18:00:31 +0100
User-agent: SquirrelMail/1.4.21

Hi Martin, thanks for your reply :-)

so using:

>if cpu > 1% for 2 cycles then exec "/bin/bash -c 'top -bn1 | mail -s top
address@hidden'"

does not run (within apache) although using same (for example) to check
percentage of disk:

if cpu > 1% then exec "/bin/bash -c 'top -bn1 | mail -s top
address@hidden'"

runs!

how investigate about that problem? are "for 2 cycles" a problem?

thanks

Pol




reply via email to

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