Created
May 4, 2016 10:42
-
-
Save antirez/a844b8ffff233aedcea07a08b86c6973 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127.0.0.1:6379> debug | |
(error) ERR You must specify a subcommand for DEBUG. Try DEBUG HELP for info. | |
127.0.0.1:6379> debug help | |
1) DEBUG <subcommand> arg arg ... arg. Subcommands: | |
2) segfault -- Crash the server with sigsegv. | |
3) restart -- Graceful restart: save config, db, restart. | |
4) crash-and-recovery <milliseconds> -- Hard crash and restart after <milliseconds> delay. | |
5) assert -- Crash by assertion failed. | |
6) reload -- Save the RDB on disk and reload it back in memory. | |
7) loadaof -- Flush the AOF buffers on disk and reload the AOF in memory. | |
8) object <key> -- Show low level info about key and associated value. | |
9) sdslen <key> -- Show low level SDS string info representing key and value. | |
10) populate <count> [prefix] -- Create <count> string keys named key:<num>. If a prefix is specified is used instead of the 'key' prefix. | |
11) digest -- Outputs an hex signature representing the current DB content. | |
12) sleep <seconds> -- Stop the server for <seconds>. Decimals allowed. | |
13) set-active-expire (0|1) -- Setting it to 0 disables expiring keys in background when they are not accessed (otherwise the Redis behavior). Setting it to 1 reenables back the default. | |
14) lua-always-replicate-commands (0|1) -- Setting it to 1 makes Lua replication defaulting to replicating single commands, without the script having to enable effects replication. | |
15) error <string> -- Return a Redis protocol error with <string> as message. Useful for clients unit tests to simulate Redis errors. | |
16) structsize -- Return the size of different Redis core C structures. | |
17) htstats <dbid> -- Return hash table statistics of the specified Redis database. | |
18) jemalloc info -- Show internal jemalloc statistics. | |
19) jemalloc purge -- Force jemalloc to release unused memory. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment