This commit is contained in:
dami
2026-05-07 18:47:45 +08:00
parent 0de3a16898
commit e8c1cb08a7
30 changed files with 38 additions and 39 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ def getPidFile():
return tmp.groups()[0].strip()
def status():
cmd = "ps aux|grep zabbix_agentd |grep -v grep | grep -v python | grep -v mdserver-web | awk '{print $2}'"
cmd = "ps -ef|grep zabbix_agentd |grep -v grep | grep -v python | grep -v mdserver-web | awk '{print $2}'"
data = mw.execShell(cmd)
if data[0] == '':
return 'stop'