check if redis server is up in tedis code example Example: check that redis is running $ redis-cli ping PONG