无涯教程-Redis - PING 命令函数

18 阅读1分钟

Redis PING 命令用于检查服务器是否正在运行。

PING - 返回值

返回PONG

PING - 语法

以下是Redis PING 命令的基本语法。

redis 127.0.0.1:6379> PING

PING - 示例

redis 127.0.0.1:6379> PING 
PONG 

参考链接

www.learnfk.com/redis/conne…