Redis Debug Object Command
The Redis Debug Object command is a debugging command and should not be used by clients.
Syntax
The basic syntax of the redis Debug Object command is as follows:
redis 127.0.0.1:6379> DEBUG OBJECT key
Available Version
= 1.0.0
Return Value
Returns related information when the key exists. Returns an error when 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