DEBUG SEGFAULT

本页内容
上一节: Server_debug_object 下一节: Server_flushall

Redis Debug Segfault 命令

Redis 服务器

Redis Debug Segfault 命令执行一个非法的内存访问从而让 Redis 崩溃,仅在开发时用于 BUG 调试。

语法

redis Debug Segfault 命令基本语法如下:


示例

redis 127.0.0.1:6379> DEBUG SEGFAULT

可用版本

>= 1.0.0

返回值

==


示例

redis 127.0.0.1:6379> DEBUG SEGFAULT
Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected>

Redis 服务器

上一节: Server_debug_object 下一节: Server_flushall
此页面最后编辑于2022年8月17日 (星期三) 23:14。