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

Comando Debug Object Redis

Servizio Redis

Il comando Debug Object Redis è un comando di debug, non dovrebbe essere utilizzato dai client.

Sintassi

Sintassi di base del comando Debug Object Redis

redis 127.0.0.1:6379> DEBUG OBJECT key

Versioni disponibili

>= 1.0.0

Valore di ritorno

Quando la chiave esiste, restituisce informazioni pertinenti. Quando la chiave non esiste, restituisce un errore.

Esempio online

redis 127.0.0.1:6379> DEBUG OBJECT my_pc
Valore a:0xb6838d20 refcount:1 encoding:raw serializedlength:9 lru:283790 lru_seconds_idle:150
redis 127.0.0.1:6379> DEBUG OBJECT your_mac
(errore) ERR chiave non trovata

 

Servizio Redis