摘要: Shell脚本如下: vim monitor.sh 运行脚本:bash monitor.sh & 命令末尾的 & 号,意思是将这个任务放到后台去执行。 那么如何停止脚本运行呢? (1)首先查找运行脚本的进程PID号: ps -aux |grep "bash monitor.sh" (2)终止脚本进程 阅读全文
posted @ 2019-10-23 12:19 OpsDrip 阅读(2950) 评论(0) 推荐(0) 编辑