Redis Connection Ping命令 Redis PING 命令用于检查服务器是否正在运行。 返回值 String类型的回复。 语法 以下是Redis PING 命令的基本语法。 redis 127.0.0.1:6379> PINGBashCopy 示例 redis 127.0.0.1:6379> PING PONGBashCopy