check redis cli code example Example 1: check redis server status redis-cli ping Example 2: check that redis is running $ redis-cli ping PONG