德国开元华人社区 开元周游

标题: Please Help! about child process at background [打印本页]

作者: guest    时间: 30.12.2003 21:49
Help please&#33; <br><br>Under UNIX,  how can I find a finshing of the child process at background, and then kill it?
作者: cyan    时间: 30.12.2003 23:33
Dont know how do it under Unix, but for Linux:<br><br><!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->ps ax <!--c2--></td></tr></table><div class='postcolor'><!--ec2--><br><br>for keyword &quot;xxx&quot; search:<br><br><!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->grep xxx<!--c2--></td></tr></table><div class='postcolor'><!--ec2--><br><br>such as: <br><br><!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->ps ax| grep xxx<!--c2--></td></tr></table><div class='postcolor'><!--ec2--><br><br>and then you can use &quot;kill xxx&quot;, xxx replaced by pid of any process.<br><br><a href='http://www.westwind.com/reference/OS-X/commandline/admin.html' target='_blank'>http://www.westwind.com/reference/OS-X/com...line/admin.html</a>




欢迎光临 德国开元华人社区 开元周游 (https://forum.kaiyuan.cn/) Powered by Discuz! X3.2