[SunHELP] Script migration problems

Ben Ricker sunhelp at sunhelp.org
Thu Mar 29 13:14:41 CST 2001


On 29 Mar 2001 09:56:16 -0700, Nicholas Dronen wrote:

> This could be a difference between implementations of the JVM on 
> Linux and Solaris.  Perhaps the JVM on Solaris does a fork()/exec()
> of another file, and the parent of that process calls exit().
> Truss -fall would confirm this.
> 
> Regards,
> 
> Nicholas

Bingo, Nicholas. When I ran the script I was getting two PIDs in the
PIDFILE. I put a 5 second sleep between the JVM spawning and the pgrep
and only one pid gets written.

Ben Ricker
Systems Administrator
US-Rx, Inc. 






More information about the SunHELP mailing list