网站首页 站内搜索

搜索结果

查询Tags标签: 后拉起,共有 2条记录
  • linux监控脚本状态失败后拉起

    while true # 无限循环 flag=`ps -aux |grep "consumer.py" |grep -v "grep" |wc -l` doif [[ $flag -eq 0 ]] # 判断进程数如果等于0,则启动脚本then`python3 -u consumer.py >> radius.log 2>&1 &` # 启动脚本echo `date` …

    2021/11/28 7:16:11 人评论 次浏览
  • linux监控脚本状态失败后拉起

    while true # 无限循环 flag=`ps -aux |grep "consumer.py" |grep -v "grep" |wc -l` doif [[ $flag -eq 0 ]] # 判断进程数如果等于0,则启动脚本then`python3 -u consumer.py >> radius.log 2>&1 &` # 启动脚本echo `date` …

    2021/11/28 7:16:11 人评论 次浏览
扫一扫关注最新编程教程