Redis Debug Segfault 命令

Redis 服務(wù)器

Redis Debug Segfault 命令執(zhí)行一個非法的內(nèi)存訪問從而讓 Redis 崩潰,僅在開發(fā)時用于 BUG 調(diào)試。

語法

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

redis 127.0.0.1:6379> DEBUG SEGFAULT 

可用版本

>= 1.0.0

返回值

實(shí)例

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

Redis 服務(wù)器