English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Comando redis Debug Object

ServidorRedis

El comando redis Debug Object es un comando de depuración, no debe ser utilizado por el cliente.

Sintaxis

Sintaxis básica del comando redis Debug Object

redis 127.0.0.1:6379> DEBUG OBJECT key

Versión disponible

>= 1.0.0

Valor de retorno

Devuelve información cuando key existe. Devuelve un error cuando key no existe.

Ejemplo en línea

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

 

ServidorRedis