Hi Sebastian,<br>I had got confused with the process name in &quot;check process &#39;someProcessName&#39; ..... to be the same as that shown when we use ps -A or top (which shows squeakvm for all the squeak images). <br><br>
In other examples (such as for Apache/ sshd etc), they have a single process running and they are assigned apache2 and sshd as process name in monitrc file.<br><br>I tried with the following in monitrc<br><font color="#0000ff" face="Trebuchet MS" size="2"><span>check process caartz01 with pidfile 
/var/run/caartz01.pid<br>...............<br>...............<br><br></span></font><font color="#0000ff" face="Trebuchet MS" size="2"><span>check process caartz02 with pidfile 
/var/run/caartz02.pid<br>
...............<br>
...............<br><br></span></font><font color="#0000ff" face="Trebuchet MS" size="2"><span>check process caartz03 with pidfile 
/var/run/caartz03.pid<br>
...............<br>
...............<br><br><br></span></font>and I restarted Monit. All the squeak-seaside images started on their own. files qith pid is saved as explained by one of my previous mails in this thread. I am happy that there is no real need to change the process name of squeak in general :) . Sorry for the trouble given due to my misconception.<br>
<br>So, I am nearing towards deployment of my Seaside App :)<br><br>Thanks again,<br>Rajeev<br><div class="gmail_quote"><br>On Feb 10, 2008 10:58 PM, Sebastian Sastre &lt;<a href="mailto:ssastre@seaswork.com">ssastre@seaswork.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span>As far as I know for *nix systems process only have PID 
number as formal reference so I don&#39;t get why do you need a name and identify 
them by it. </span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span>I exposed I make squeak images to create a PID file in 
/var/run/services with it&#39;s unique *service name* which match the name of the 
script which starts/stops the process of that service, just to make them human 
manageable. So the OJ7WRE is just the name of the script which starts/stops that 
image and the name of the PID file that image creates/deletes when it 
starts/shutsdown. </span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span>I&#39;ve made all that just to be able to invoke with a 
name the process of that image so monit can watch on its pid file to know if 
it&#39;s alive or other details of the process.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span>I plan to create scripts-paths-images automagically but 
they are manually created by now.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Trebuchet MS" size="2"><span>&nbsp;&nbsp;&nbsp; cheers,</span></font></div>
<div><font color="#0000ff" face="Trebuchet MS" size="2"></font>&nbsp;</div>
<div align="left"><span>
<p style="margin: 0cm 0cm 0pt;" align="left"><span style="font-size: 10pt;">Sebastian 
Sastre</span></p></span></div>
<div>&nbsp;</div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div dir="ltr" align="left" lang="es">
  <hr>
  <font face="Tahoma" size="2"><div class="Ih2E3d"><b>De:</b> <a href="mailto:seaside-bounces@lists.squeakfoundation.org" target="_blank">seaside-bounces@lists.squeakfoundation.org</a> 
  [mailto:<a href="mailto:seaside-bounces@lists.squeakfoundation.org" target="_blank">seaside-bounces@lists.squeakfoundation.org</a>] <b>En nombre de </b>Rajeev 
  Lochan<br></div><b>Enviado el:</b> Domingo, 10 de Febrero de 2008 
  00:41<div class="Ih2E3d"><br><b>Para:</b> Seaside - general discussion<br><b>Asunto:</b> Re: 
  [Seaside] Monit on Ubuntu / Debian to monitor Seaside 
  images<br></div></font><br></div>
  <div><div></div><div class="Wj3C7c"><div></div>Sebastian,<br>In your first mail of this thread, you have given out 
  the code that needs to be appended into monitrc. How could you create process 
  named <font color="#0000ff" face="Trebuchet MS" size="2"><span>OJ7WRE 
  ?</span></font><br><br>
  <div class="gmail_quote">Right now, I have got start and stop script working as 
  explained my previous mail. My concern now are :<br><br>1] Is it possile to 
  name or rename the process/Command in Linux (By default it is set &#39;squeakvm&#39; ) 
  ? Can this be done on Linux or is it possible to change something in SqueakVM 
  so that the process name it assigns to the process is somewhat unique (Is it 
  easy to tweak SqueakVM by an amateur like me ?)<br><br>2] As of now, I would 
  like to give preference to Monit as I have got about 75% working. Remaining 
  depends on point 1.<br><br>3] If [1] is not possible, I shall try to follow 
  Ramon&#39;s instruction of creating event.d and then installing 
  Daemontools.<br><br>Thanks &amp; Regards,<br>Rajeev<br><br><br><br>On Feb 9, 
  2008 11:18 PM, Sebastian Sastre &lt;<a href="mailto:ssastre@seaswork.com" target="_blank">ssastre@seaswork.com</a>&gt; wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div>&gt;<br>&gt; I didn&#39;t say monit wasn&#39;t still useful, just that 
    services<br>&gt; are easier to create and automate with daemontools than 
    with init.d.<br>&gt;<br></div>Just asking to compare. I&#39;m glad they moved to 
    a more powerful model.<br>...<br>
    <div>&gt; Sort of, I haven&#39;t blogged about it, but we hashed out the<br>&gt; 
    necessary steps a while back<br>&gt; <a href="http://lists.squeakfoundation.org/pipermail/seaside/2007-November/015071.htm" target="_blank">http://lists.squeakfoundation.org/pipermail/seaside/2007-Novem<br>ber/015071.htm</a><br>
&gt; 
    l<br>&gt;<br>&gt; Ramon Leon<br>&gt; <a href="http://onsmalltalk.com" target="_blank">http://onsmalltalk.com</a><br>&gt;<br></div>Reference very 
    appreciated,<br><br>&nbsp; &nbsp; &nbsp; &nbsp;cheers!<br><font color="#888888"><br>Sebastian<br></font>
    <div>
    <div></div>
    <div><br>_______________________________________________<br>seaside mailing 
    list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Rajeev Lochan<br><br>Co-founder, AR-CAD.com<br><br><a href="http://www.ar-cad.com" target="_blank">http://www.ar-cad.com</a><br>+91 
  9243468076 (Bangalore)<br>080 65355873 </div></div></blockquote></div>
<br>_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Rajeev Lochan<br><br>Co-founder, AR-CAD.com<br><br><a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>+91 9243468076 (Bangalore)<br>080 65355873