首页/应用软件/内容

mysql完成自动监控同步的脚本

应用软件2022-10-23 阅读()
awk '{print $2}'` if [ "$MYSQLPORT" == "3306" ] then echo "mysql is running" else /bin/mail -s "warning!server: $MYSQLIP mysql is down" $Mail-list fi if [ "$IO_env" = "Yes" -a "$SQL_env" = "Yes" ] then echo "Slave is running!" else echo "####### $date #########" >> /tmp/check_mysql_slave.log echo "Slave is not running!" >> /tmp/check_mysql_slave.log echo "Slave is not running!" #mail -s "warn! $MySQLIP_replicate_error" $Mail-list << /tmp/check_mysql_slave.log echo "`cat /tmp/check_mysql_slave.log`" (北联网教程,专业提供视频软件下载)

第1页  第2页  第3页  第4页  第5页  第6页  第7页  第8页  第9页  第10页  第11页  第12页 

……

相关阅读