We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aae395 commit e5f917aCopy full SHA for e5f917a
bin/v-list-sys-services
@@ -153,7 +153,8 @@ fi
153
154
# Checking WEB Backend
155
if [ ! -z "$WEB_BACKEND" ] && [ "$WEB_BACKEND" != 'remote' ]; then
156
- get_srv_state $WEB_BACKEND
+ proc_name=$(ls /usr/sbin/php*fpm* |cut -f 4 -d /)
157
+ get_srv_state $proc_name
158
data="$data\nNAME='$WEB_BACKEND' SYSTEM='backend server' STATE='$state'"
159
data="$data CPU='$cpu' MEM='$mem' RTIME='$rtime'"
160
fi
0 commit comments