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:
parent
dba6c79f71
commit
fb0e127adf
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue