检测服务监控脚本,可设置定时执行及开机启动执行定时执行:5分钟检测一次crontab -e*/5 * * * * /bin/bash /home/mysh/service-health-check.sh >/dev/null 2>&1开机启动:vim /etc/rc.local/bin/bash /home/mysh/service-health-check.sh >/dev/null 2>&1 &