<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Process Watchdog</title>
	<atom:link href="http://ertw.com/blog/2006/09/26/process-watchdog/feed/" rel="self" type="application/rss+xml" />
	<link>http://ertw.com/blog/2006/09/26/process-watchdog/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 26 Aug 2010 15:52:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rich</title>
		<link>http://ertw.com/blog/2006/09/26/process-watchdog/comment-page-1/#comment-104344</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Tue, 09 Feb 2010 15:54:08 +0000</pubDate>
		<guid isPermaLink="false">http://ertw.com/blog/2006/09/26/process-watchdog/#comment-104344</guid>
		<description>Sean, thanks for the simple yet effective script.

Thought I would post a warning for users, however.  If you use this in a cronjob, do NOT put the name of the process you are looking for in the name of the cron.  This will cause a false positive, and the script will not know that your server has gone away.

For example, I had a cron job named &quot;watch_httpd&quot;, and I couldnt figure out why when i would run the commands manually it worked perfect, but if I ran the cron, it wouldnt work.  Well, it saw the process named &quot;watch_httpd&quot; and thought the server was up.

I&#039;m ashamed to say it took me 2 minutes to implement this script, and an hour to figure out the above issue.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Sean, thanks for the simple yet effective script.</p>
<p>Thought I would post a warning for users, however.  If you use this in a cronjob, do NOT put the name of the process you are looking for in the name of the cron.  This will cause a false positive, and the script will not know that your server has gone away.</p>
<p>For example, I had a cron job named &#8220;watch_httpd&#8221;, and I couldnt figure out why when i would run the commands manually it worked perfect, but if I ran the cron, it wouldnt work.  Well, it saw the process named &#8220;watch_httpd&#8221; and thought the server was up.</p>
<p>I&#8217;m ashamed to say it took me 2 minutes to implement this script, and an hour to figure out the above issue.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sean</title>
		<link>http://ertw.com/blog/2006/09/26/process-watchdog/comment-page-1/#comment-16188</link>
		<dc:creator>sean</dc:creator>
		<pubDate>Thu, 08 Mar 2007 02:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://ertw.com/blog/2006/09/26/process-watchdog/#comment-16188</guid>
		<description>Smartass! :)  Run it through inittab if you&#039;re worried, at least if init fails you&#039;ve got bigger things to worry about!</description>
		<content:encoded><![CDATA[<p>Smartass! <img src='http://ertw.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Run it through inittab if you&#8217;re worried, at least if init fails you&#8217;ve got bigger things to worry about!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://ertw.com/blog/2006/09/26/process-watchdog/comment-page-1/#comment-16017</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 06 Mar 2007 22:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://ertw.com/blog/2006/09/26/process-watchdog/#comment-16017</guid>
		<description>And what watches the watchdog?  

/usr/local/sbin/watchdog.sh watchdog watchdog

heh.. =)</description>
		<content:encoded><![CDATA[<p>And what watches the watchdog?  </p>
<p>/usr/local/sbin/watchdog.sh watchdog watchdog</p>
<p>heh.. =)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
