小白教程
所有教程
关于
Search
172.70.100.209
172.70.100.209
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Server debug object”的源代码
本页内容
上一节:
Server_dbsize
下一节:
Server_debug_segfault
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:DEBUG OBJECT key}}[[Category:redis server|19]] = Redis Debug Object 命令 = [[redis server|Redis 服务器]] Redis Debug Object 命令是一个调试命令,它不应被客户端所使用。 === 语法 === redis Debug Object 命令基本语法如下: <sample title="" desc="" lang="redis" hererun="1"> redis 127.0.0.1:6379> DEBUG OBJECT key </sample> === 可用版本 === >= 1.0.0 === 返回值 === 当 key 存在时,返回有关信息。 当 key 不存在时,返回一个错误。 == <sample title="" desc="" lang="redis" hererun="1"> 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 </sample> [[redis server|Redis 服务器]]
返回至“
Server debug object
”。
上一节:
Server_dbsize
下一节:
Server_debug_segfault