2020年1月2日

shell_常规小脚本

摘要: shell 1、检查Mysql的健康状态 #!/bin/bashpgrep -x mysqld &> /dev/nullif [ $? -ne 0 ]thenecho “At time: `date` :MySQL is stop .”>> /日志路径/etc/init.d 阅读全文

posted @ 2020-01-02 21:45 九酒馆 阅读(550) 评论(0) 推荐(0) 编辑

导航