Update index.py

This commit is contained in:
Mr Chen 2024-06-10 15:09:30 +08:00
parent cc6e4d07b0
commit dee06ecf45
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ def initDreplace(version=''):
return 'ok'
def process_status():
cmd = "ps -ef|grep mysql |grep -v grep | grep -v python | awk '{print $2}'"
cmd = "ps -ef|grep mysql-yum | grep mysql |grep -v grep | grep -v python | awk '{print $2}'"
data = mw.execShell(cmd)
if data[0] == '':
return 'stop'