Build precise queries to find exactly what you need
Press ESC to close
The script workt great after i made some modification. the wrote left out the host part.
so i changed answer= to answer=`$mysqlpath/mysql -u $user -p$pass -h $host -e ‘show slave statusG’ | /bin/grep Slave_IO_Running | /usr/bin/cut -f2 -d:`