代码拉取完成,页面将自动刷新
RDR(redis data reveal) is a tool to parse redis rdbfile. Comparing to redis-rdb-tools, RDR is implemented by golang, much faster (5GB rdbfile takes about 2mins on my PC).
NAME:
rdr - a tool to parse redis rdbfile
USAGE:
rdr [global options] command [command options] [arguments...]
VERSION:
v0.0.1
COMMANDS:
show show statistical information of rdbfile by webpage
keys get all keys from rdbfile
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
NAME:
rdr show - show statistical information of rdbfile by webpage
USAGE:
rdr show [command options] FILE1 [FILE2] [FILE3]...
OPTIONS:
--port value, -p value Port for rdr to listen (default: 8080)
NAME:
rdr keys - get all keys from rdbfile
USAGE:
rdr keys FILE1 [FILE2] [FILE3]...
After downloading maybe need add permisson to execute.
$ chmod a+x ./rdr*
$ ./rdr show -p 8080 *.rdb
Note that the memory usage is approximate.
$ ./rdr keys example.rdb
portfolio:stock_follower_count:ZH314136
portfolio:stock_follower_count:ZH654106
portfolio:stock_follower:ZH617824
portfolio:stock_follower_count:ZH001019
portfolio:stock_follower_count:ZH346349
portfolio:stock_follower_count:ZH951803
portfolio:stock_follower:ZH924804
portfolio:stock_follower_count:INS104806
This project is under Apache v2 License. See the LICENSE file for the full license text.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。