搞定了,谢谢!<br><br><div><span class="gmail_quote">On 10/25/07, <b class="gmail_sendername">陈学芹</b> <<a href="mailto:robbiecn@gmail.com">robbiecn@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
在 07-10-25,Jesse Lee<<a href="mailto:cdrplum@gmail.com">cdrplum@gmail.com</a>> 写道:<br>> 大家好,<br>><br>> 想问个问题,昨天执行了一个脚本 daemon mode, 后来文件修改了一次,又执行了一次命令<br>> # perl myfile.pl & ,发现运行了两个不同的内容。<br>> 问一下怎么停止脚本的后台运行?这些运行在哪个文件里?
<br>><br>> 谢谢<br>如果你在同一个终端两次运行perl,后台方式,则可以用<br> jobs -l<br>命令找出后台的perl任务进程ID,再用kill -9 停止那个进程.<br><br>也可以用ps -aux | grep perl 查找出所有的perl进程,进而kill.<br><br><br><br><br>--<br>/*<br>*@author: chen xueqin<br>*@email:
<a href="mailto:robbiecn@gmail.com">robbiecn@gmail.com</a><br>*@see: <a href="http://robbie.bokee.com">http://robbie.bokee.com</a><br>*@see: <a href="http://groups.google.com/group/fzlug">http://groups.google.com/group/fzlug
</a><br>*@love: freedom,tux,open source<br>*/<br>_______________________________________________<br>China-pm mailing list<br><a href="mailto:China-pm@pm.org">China-pm@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/china-pm">
http://mail.pm.org/mailman/listinfo/china-pm</a></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.digbuzz.com/">http://www.digbuzz.com/</a> Web 2.0 用户挖新闻社区