X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/9e83ac06ef1c978c65fefc1fbf5af1e95f31fe15..a36879293d7aa2d9fb57d43a0520f8032ed68d5f:/src/debug.c diff --git a/src/debug.c b/src/debug.c index 2f7ab58f..3b187da4 100644 --- a/src/debug.c +++ b/src/debug.c @@ -213,9 +213,11 @@ void debugCommand(redisClient *c) { strenc = strEncoding(val->encoding); addReplyStatusFormat(c, "Value at:%p refcount:%d " - "encoding:%s serializedlength:%lld", + "encoding:%s serializedlength:%lld " + "lru :%d lru_seconds_idle:%lu", (void*)val, val->refcount, - strenc, (long long) rdbSavedObjectLen(val,NULL)); + strenc, (long long) rdbSavedObjectLen(val,NULL), + val->lru, estimateObjectIdleTime(val)); } else { vmpointer *vp = (vmpointer*) val; addReplyStatusFormat(c,