UserParameter=redis[*],echo -e "info\nquit" | redis-cli | grep $1":" | cut -d ':' -f 2 UserParameter=redis-ping,echo -e "ping\nquit" | redis-cli | grep -c PONG