w3resource

Redis Connection: PING

Description

Redis PING command is used to check whether a server connection is still alive, or to measure latency.

Syntax:

PING 

Available since

1.0.0.

Return Value

String reply

Return Value Type

String

Example:

redis 127.0.0.1:6379> PING
PONG

Previous: ECHO
Next: QUIT



Follow us on Facebook and Twitter for latest update.