文档:
https://redis.io/topics/rediscli
help命令:
The command can be used in two forms:
1. help @<category> shows all the commands about a given category. The categories are:
@generic, @list, @set, @sorted_set, @hash, @pubsub, @transactions, @connection, @server, @scripting, @hyperloglog.
2. help <commandname> shows specific help for the command given as argument.
比如 help @cluster 查看所有与cluster有关的命令。
查看状态的命令:
redis-cli --stat
遍历所有的数据:
redis-cli --scan
监控:
redis-cli monitor