ARTICLE DETAIL

资讯详情

深耕编程入门与网站建设的一线实战洞察。

mon.sh 脚本

mon.sh 脚本 mon.sh 监控脚本#!/usr/bin/env bashwhile truedoexistps -ef | grep httpldlog | grep -v grep | wc -lif [ $exist -eq 0 ]thenecho date %F %T not exist./httpldlog/dev/null 21 elsesleep 10sfidone
返回列表