monit-general
[Top][All Lists]
Advanced

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

Re: Monit PID check


From: Christopher P. Lindsey
Subject: Re: Monit PID check
Date: Thu, 5 Oct 2006 16:21:21 -0500
User-agent: Mutt/1.5.10i

> I think that comparing the command line parameters of the PID from the PID 
> file with the configured
> command line parameters of the monitored process should minimize the risk 
> of falsely identifying a
> running process.

You could also check the start time of the process.  If it's newer than 
the mtime of the pid file, complain.

Chris




reply via email to

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