daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest May 31st, 2017 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ASNGJKDF?CJVDASRFGVIKDNFGVIDNSAERFNighewsiorbvhas;d
  2. safcs
  3. edfgv
  4. d'gvads
  5. gr
  6. sthsrtf
  7. '
  8. fdabv
  9. s
  10.     echo "$global_ipaddress"
  11.     ssh -l "$user" "$ipaddress" "pidof mysqld"
  12.     let thepid = ssh-l "user" "ipaddress" "pidof mysqld"
  13.     mysql --user="$mysqluser" --password="$mysqlpass" --host="ipaddress" -e "show global variables like 'innodb_buffer_pool_size';"
  14. }
  15.  
  16.  
  17. function mysql_down
  18. {
  19.     echo please verify that all the rpm has been installed and install the reqired rpms.
  20.     ssh -l "$user" "$ipaddress" "rpm -qa | grep mysql" echo
  21. }
  22.  
  23.  
  24.  
  25. let amount='sed -n '$=' "$folder"'
  26.  
  27. for ((i=0;i-eq"$amount";i++ ));
  28. do
  29.     $global_ipaddress='sed -n $ip "$folder"'
  30.     echo "$ipaddress"
  31.     if [ ssh -l "$user" "$ipaddress" "ps aux | grep mysqld | awk '{print $9}'" -eq null ]
  32.     then
  33.         mysql_running
  34.     else
  35.         mysql_down
  36.     fi
  37. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top