[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu Feb 5 10:59:19 2004 -->
- <!--x-from-r13: psbjyre ng bhgcbfgfragvary.pbz (Quevf Tbjyre) -->
- <!--x-message-id: 1075996738.14266.76.camel@devel -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Looking for software to keep processes running. -->
- <li><em>date</em>: Thu Feb 5 10:59:19 2004</li>
- <li><em>from</em>: cfowler at outpostsentinel.com (Chris Fowler)</li>
- <li><em>in-reply-to</em>: <<a href="msg00164.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00164.html">[email protected]</a>></li> switch((pid = fork())) { case -1: exit(1); case 0: execl("/bin/program", "/bin/program", 0); exit(1); default: waitpid(pid, NULL, 0); }
- <li><em>subject</em>: [ale] Looking for software to keep processes running.</li>
All program must be ran in the foreground and not become a daemon.
On Thu, 2004-02-05 at 10:42, Jim Lynch wrote:
> I've got a number of scripts that start processes that run in user space
> that I'd like to keep running. (RH 7.2). Is there a utility that would
> help me? I know I can write a script that would do a ps periodically and
> make sure the process was still running and if not start it up, but I was
> just curious if there was a utility that would automate that process. I
> googled for something, but didn't see anything promising, except a
> reference to Big Brother.
>
> THanks,
> Jim.
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00169" href="msg00169.html">[ale] Looking for software to keep processes running.</a></strong>
<ul><li><em>From:</em> freemyer-ml at NorcrossGroup.com (Greg Freemyer)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00164" href="msg00164.html">[ale] Looking for software to keep processes running.</a></strong>
<ul><li><em>From:</em> jwl at sgi.com (Jim Lynch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00166.html">[ale] Smoothwall 2.0 or IPCop 1.3.0?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00168.html">[ale] Poor support (was Smoothwall 2.0 vs IPCop 1.3.0)</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00164.html">[ale] Looking for software to keep processes running.</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00169.html">[ale] Looking for software to keep processes running.</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00167"><strong>Date</strong></a></li>
<li><a href="threads.html#00167"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>