<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
陈学芹 wrote:
<blockquote
 cite="mid:ad4b44350710250751w789e39f6ve0b5d13479f0e6d4@mail.gmail.com"
 type="cite">
  <pre wrap="">在 07-10-25,Jesse Lee<a class="moz-txt-link-rfc2396E" href="mailto:cdrplum@gmail.com">&lt;cdrplum@gmail.com&gt;</a> 写道:
  </pre>
  <blockquote type="cite">
    <pre wrap="">大家好,

想问个问题,昨天执行了一个脚本 daemon mode,  后来文件修改了一次,又执行了一次命令
# perl myfile.pl &amp; ,发现运行了两个不同的内容。
问一下怎么停止脚本的后台运行?这些运行在哪个文件里?

谢谢
    </pre>
  </blockquote>
  <pre wrap=""><!---->如果你在同一个终端两次运行perl,后台方式,则可以用
   jobs  -l
命令找出后台的perl任务进程ID,再用kill -9 停止那个进程.

也可以用ps -aux | grep perl 查找出所有的perl进程,进而kill.




  </pre>
</blockquote>
<font size="-1"><font face="‹S">传说中的女同学,PERL爱好者?哈哈。厉害。<br>
<br>
<br>
</font></font>
</body>
</html>