From 0de3a16898d7b87823b7efc6d70c328f1c1810ff Mon Sep 17 00:00:00 2001 From: dami Date: Thu, 7 May 2026 18:42:07 +0800 Subject: [PATCH] Update index.py --- plugins/keepalived/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/keepalived/index.py b/plugins/keepalived/index.py index 2eb6fd952..796ea2611 100755 --- a/plugins/keepalived/index.py +++ b/plugins/keepalived/index.py @@ -118,7 +118,7 @@ def configScriptsTpl(): def status(): data = mw.execShell( - "ps aux|grep keepalived |grep -v grep | grep -v python| awk '{print $2}'") + "ps -ef|grep keepalived |grep -v grep | grep -v python| awk '{print $2}'") if data[0] == '': return 'stop'