Update index.py
This commit is contained in:
parent
cc6e4d07b0
commit
dee06ecf45
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue