monit-general
[Top][All Lists]
Advanced

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

Re: create pid file


From: António P . P . Almeida
Subject: Re: create pid file
Date: Sun, 13 Mar 2011 16:53:22 +0000
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On 13 Mar 2011 16h44 WET, address@hidden wrote:

> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; ISO-8859-1 (7bit)>]
> how to generate a pid file
> for a wthttp application

echo $(pidof wthttp) > myapp.pid

Could happen that there are child processes and that you get more than
one PID as the result of pidof though. Choose and post process the
reply as needed then.

--- appa




reply via email to

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