Skip to content

PING

用于测试与服务器的连接是否正常。如果服务器正常运行,将返回 PONG。

Syntax

PING

Return

Simple string reply: "PONG"

Examples

redis> PING
PONG

Released under the GPL-3.0 License.