摘要: #!/bin/bashtime=`date -d yesterday +"%Y-%m-%d"`slowlog='/usr/local/percona/data/slow.log'#提前创建好一个存放目录:/usr/local/percona/slow_log cut_slowlog='/usr/lo 阅读全文
posted @ 2018-12-05 12:38 Manger 阅读(285) 评论(0) 推荐(0) 编辑
摘要: #!/bin/shexport PATH=$PATH:/application/mysql/3306/binlogFile=`date +"%Y-%m-%d %H:%M:%S"`_check_mysql_slave.logmysql='/application/mysql/3306/bin/mysq 阅读全文
posted @ 2018-12-05 11:22 Manger 阅读(261) 评论(0) 推荐(0) 编辑