1
0
Fork 0
mirror of https://github.com/myvesta/vesta synced 2025-08-13 01:57:57 -07:00

Added memcached to v-list-sys-services

This commit is contained in:
myvesta 2021-11-23 13:33:34 +01:00 committed by GitHub
commit fb0e127adf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -389,6 +389,13 @@ if [ -d "/etc/redis" ]; then
data="$data CPU='$cpu' MEM='$mem' RTIME='$rtime'"
fi
# Checking Memcached
if [ -f "/etc/memcached.conf" ]; then
get_srv_state 'memcached'
data="$data\nNAME='memcached' SYSTEM='Memcached' STATE='$state'"
data="$data CPU='$cpu' MEM='$mem' RTIME='$rtime'"
fi
# Listing data
case $format in