列出所有正在跑的php程式
ps aux | grep php
抓取所有pid
ps aux | grep php | awk '{print $2}'
終止所有php process
kill -9 ps aux | grep php | awk '{print $2}'
或
ps aux | grep php | awk '{print $2}' | xargs kill -9
參考文章:
http://blog.longwin.com.tw/2012/06/linu ... name-2012/
linux :kill php process
版主: stnet253
誰在線上
正在瀏覽這個版面的使用者:Semrush [Bot] 和 1 位訪客