Easy Tutorial
❮ Server Info Sorted Sets Zremrangebylex ❯

Redis Debug Object Command

Redis Server

The Redis Debug Object command is a debugging command and should not be used by clients.

Syntax

The basic syntax for the redis Debug Object command is as follows:

redis 127.0.0.1:6379> DEBUG OBJECT key

Available Versions

= 1.0.0

Return Value

Returns information about the key if it exists. Returns an error if the key does not exist.

Example

redis 127.0.0.1:6379> DEBUG OBJECT my_pc
Value at:0xb6838d20 refcount:1 encoding:raw serializedlength:9 lru:283790 lru_seconds_idle:150

redis 127.0.0.1:6379> DEBUG OBJECT your_mac
(error) ERR no such key

Redis Server

❮ Server Info Sorted Sets Zremrangebylex ❯