Redis PING command is used to check whether the server is running or not.
Return Value
String reply.
Syntax
Following is the basic syntax of Redis PING command.
redis 127.0.0.1:6379> PING
Example
redis 127.0.0.1:6379> PING PONG
Redis PING command is used to check whether the server is running or not.
String reply.
Following is the basic syntax of Redis PING command.
redis 127.0.0.1:6379> PING
redis 127.0.0.1:6379> PING PONG