monit-general
[Top][All Lists]
Advanced

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

Re: Kill high CPU use from gconfd-2


From: Martin Pala
Subject: Re: Kill high CPU use from gconfd-2
Date: Tue, 22 May 2012 15:41:29 +0200

Yes, for example:

--8<--
check process myproc matching "/usr/bin/myproc"
    if cpu usage > 75% for 5 cycles then exec "/usr/bin/pkill myproc"
--8<--

Regards,
Martin



On May 22, 2012, at 3:37 PM, Jostein Berntsen wrote:

> I have some problem with gconfd-2 running loose on one of my PCs, and
> setting of processes that use 100% CPU when starting f.ex Acroread. Is it
> possible to set up monit to kill these processes as soon as they reach 75%
> use of CPU?
> 
> Jostein
> 
> 
> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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