一、python
1、查询运行中脚本
bash
ps aux | grep python
2、关闭脚本进程
bash
kill -15 <PID> # 优雅终止(SIGTERM)
bash
kill -9 <PID> # 强制终止(SIGKILL)