This commit is contained in:
Mr Chen
2023-11-16 18:00:53 +08:00
parent 71a2b43c06
commit af660daa30
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# 计划任务,恢复后,可自动拉起keepalived
# {$SERVER_PATH}/keepalived/scripts/chk.sh mysql
# bash {$SERVER_PATH}/keepalived/scripts/chk.sh mysql
# check script bash
curPath=`pwd`
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash
# 计划任务,恢复后,可自动拉起keepalived
# {$SERVER_PATH}/keepalived/scripts/chk_mysql.sh
# bash {$SERVER_PATH}/keepalived/scripts/chk_mysql.sh
counter=$(netstat -na|grep "LISTEN"|grep "3306"|wc -l)