centos7下,启动python后台与停止后台

启动

nohup python3 test_srv.py &

停止

ps -ef |grep test_srv.py|cut -c 9-15|xargs kill -9

以上。

相关文章:

  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
猜你喜欢
  • 2021-10-17
  • 2021-06-20
  • 2021-08-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
相关资源
相似解决方案