command to check if redis is running code example
Example 1: check that redis is running
$ redis-cli ping
PONG
Example 2: redis cache start
sudo /etc/init.d/redis_6379 start
$ redis-cli ping
PONG
sudo /etc/init.d/redis_6379 start