Redis - 連線 Ping 命令



Redis PING 命令用於檢查伺服器是否在執行。

返回值

字串回覆。

語法

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

redis 127.0.0.1:6379> PING

示例

redis 127.0.0.1:6379> PING 
PONG 
redis_connection.htm
廣告