Comando Redis Debug Object
El comando Redis Debug Object es un comando de depuración y no debe ser utilizado por los clientes.
Sintaxis
La sintaxis básica del comando redis Debug Object es la siguiente:
redis 127.0.0.1:6379> DEBUG OBJECT key
Versiones disponibles
>= 1.0.0
Valor de retorno
Cuando la key existe, devuelve información relevante. Cuando la key no existe, devuelve un error.
Ejemplo
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
Otras extensiones