PING
测试连接
语法
PING [message]说明
PING 用于测试客户端与 Redis 服务器的连接是否正常。服务器正常时返回 PONG。可带自定义消息参数。
参数
message可选自定义消息
示例
连接检测
检查 Redis 是否可连通
PING带消息检测
带自定义消息的检测
PING "hello world"PING测试连接
PING [message]PING 用于测试客户端与 Redis 服务器的连接是否正常。服务器正常时返回 PONG。可带自定义消息参数。
message可选自定义消息
检查 Redis 是否可连通
PING带自定义消息的检测
PING "hello world"