[Top][All Lists]

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

[monit] Check if a process is running

From: mercadodei mercado
Subject: [monit] Check if a process is running
Date: Thu, 21 May 2009 15:12:24 +0100

Hello All
To check if a process is running the only thing I have to do is :
check process <process> with pidfile "/var/run/<process>.pid"
  start = "/etc/init.d/<process> start"
  stop = "/etc/init.d/<process> stop"
right ?
and if the process doesn't have pid file  (I know that this question is already answered but I would like to know your opinions)

reply via email to

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