Redis には DEBUG系コマンドが用意されている。 どういうわけか、ドキュメントにはその一部の OBJECT と SEGFAULT しか載っていないので、ソースコード(debug.c::debugCommand)を参考にまとめてみた。 DEBUG OBJECT key http://redis.io/commands/debug-object DEBUG OBJECT is a debugging command that should not be used by clients. Check the OBJECT command instead. redis 127.0.0.1:6379[1]> lpush mylist a (integer) 1 redis 127.0.0.1:6379[1]> debug object mylist Value at:0x7f10c02e94
![RedisのDEBUG系コマンド](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)