1、MySQL监控 宝塔面板--->计划任务,输入任务名称、执行周期、脚本内容 脚本内容如下: pgrep -x mysqld &> /dev/null if [ $? -ne 0 ];then bash /www/server/panel/sc……