On 13 Mar 2011 16h44 WET, [email protected] 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


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to