quo*_*tor 8 linux kill pid
我发现自己必须定期发送kill -STOP 一百万个进程,但它们都来自同一个父进程。有没有更聪明的方法来做到这一点?
kill -STOP
use*_*686 18
尝试pkill:
pkill
pkill -STOP -P the_ppid
如果你没有pkill,还有一个替代方案:
ps -o pid --ppid the_ppid --no-heading | xargs kill -STOP
归档时间:
16 年,9 月 前
查看次数:
15564 次
最近记录: