Redis DEBUG SEGFAULT進行了Redis一個無效的崩潰記憶體存取。它被用於在開發過程中,以模擬缺陷。
返回字串
redis DEBUG SEGFAULT命令的基本語法如下所示:
redis 127.0.0.1:6379> DEBUG SEGFAULT
redis 127.0.0.1:6379> DEBUG SEGFAULT Could not connect to Redis at 127.0.0.1:6379: Connection refused not connected>