<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>https://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>https://jackxiang.com/post//</link>
<title><![CDATA[自动启动停掉程序的办法(僵尸进程除外)]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Tue, 09 Dec 2008 08:37:55 +0000</pubDate> 
<guid>https://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	#vi /root/sunwaylove.sh<br/><div class="code">ps -ax &#124; grep -v grep &#124; grep XXXXXX &#124; cut -c1-6 &#124;&#92;<br/>awk &#039;&#123;print $2&#125;&#039; &#124;<br/>if read pid;<br/>then<br/>&nbsp;&nbsp; echo $&#123;pid&#125;<br/>else<br/>&nbsp;&nbsp; XXXXXX &gt; /dev/null 2&gt;&amp;1<br/>fi</div><br/><br/>#crontab -e<br/>1-59&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /root/sunwaylove.sh<br/><br/>XXXXX 为你需要守护的进程名称，改脚本最好配合cron来执行，比如每1分钟判断一下进程是否存在不存则自动启动。该方法对僵尸进程不起作用。<br/><br/>僵尸进程：<br/>http://www.bsdlover.cn/html/54/n-1054.html
]]>
</description>
</item><item>
<link>https://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 自动启动停掉程序的办法(僵尸进程除外)]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>