Ubuntu後臺運行、查看、 終止python

ps -ef
 1656  ps -aux|grep train_wvh64.py
 1657  kill -9 10871
 1658  ps -aux|grep train_wvh64.py
 

運行

nohup python -u R.py > out.log 2>&1 &

查看

  1. ps -ef

  2.  
  3. ps -aux|grep chat.js

終止

kill -9  進程號
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章