#!/bin/shMYSQLPORT=`netstat-na|grep"LISTEN"|grep"3306"|awk-F[:""]+‘{print$5}‘`MYSQLIP=`ifconfigeth0|grep"inetaddr"|awk-F[:""]+‘{print$4}‘`STATUS=$(/usr/local/mysql/bin/mysql-e"showslavestatus\G"|grep-i"running")IO_env=`echo$STATUS|grepIO|awk‘{print$2}‘`SQL_..
分类:
数据库 时间:
2017-09-03 23:47:48
阅读次数:
245