Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TrumanDu committed Apr 3, 2019
1 parent 7c0d271 commit 602d501
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ For example, click rct-dashboard -2.0.0-release.tar.gz to download and extract i
1. Preferred startup control center RCT-dashboard
- Default Settings
```
docker run -d --net=host xaecbd/rct-dashboard:2.0.0
docker run -d --net=host xaecbd/rct-dashboard:latest
```
- Custom configurations (before execution, please placed on the host config/application.properties db/data.db)
```
docker run -d -v /opt/app/rct/rct-dashboard/config:/opt/app/rct/rct-dashboard/config -v /opt/app/rct/rct-dashboard/db:/opt/app/rct/rct-dashboard/db --net=host xaecbd/rct-dashboard:2.0.0
docker run -d -v /opt/app/rct/rct-dashboard/config:/opt/app/rct/rct-dashboard/config -v /opt/app/rct/rct-dashboard/db:/opt/app/rct/rct-dashboard/db --net=host xaecbd/rct-dashboard:latest
```
2. Start the analyzer rct-analyze
- Default Settings
```
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" --net=host xaecbd/rct-analyze:2.0.0
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" --net=host xaecbd/rct-analyze:latest
```
- Custom configurations (before execution, please place the config/application.properties on the host)
```
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" -v /opt/app/rct/rct-analyze/config:/opt/app/rct/rct-analyze/config -v /data/redis/redis_cluster:/data/redis/redis_cluster --net=host xaecbd/rct-analyze:2.0.0
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" -v /opt/app/rct/rct-analyze/config:/opt/app/rct/rct-analyze/config -v /data/redis/redis_cluster:/data/redis/redis_cluster --net=host xaecbd/rct-analyze:latest
```
Adjust the maximum heap size appropriately based on the RDB size.
Expand Down
11 changes: 5 additions & 6 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ RCT 是一个通过解析rdb文件对redis内存结构分析的一站式平台
## 快速开始

### jre(linux和windows)
在开始之前,首先确保安装jre1.8+,在release中下载发布包。

在开始之前,首先确保安装jre1.8+,在release中下载**最新版本**发布包。
如点击RCT-Dashboard-2.0.0-release.tar.gz下载,解压(windows下可用winRAR软件解压,linux下可用命令```tar xvf RCT-Dashboard-2.0.0-release.tar.gz ```)

如点击RCT-Analyze-2.0.0-release.tar.gz下载,解压(windows下可用winRAR软件解压,linux下可用命令
Expand All @@ -53,20 +52,20 @@ RCT 是一个通过解析rdb文件对redis内存结构分析的一站式平台
1. 首选启动控制中心RCT-Dashboard
- 默认配置
```
docker run -d --net=host xaecbd/rct-dashboard:2.0.0
docker run -d --net=host xaecbd/rct-dashboard:latest
```
- 自定义配置(在执行之前,请先在宿主机上放置config/application.properties db/data.db)
```
docker run -d -v /opt/app/rct/rct-dashboard/config:/opt/app/rct/rct-dashboard/config -v /opt/app/rct/rct-dashboard/db:/opt/app/rct/rct-dashboard/db --net=host xaecbd/rct-dashboard:2.0.0
docker run -d -v /opt/app/rct/rct-dashboard/config:/opt/app/rct/rct-dashboard/config -v /opt/app/rct/rct-dashboard/db:/opt/app/rct/rct-dashboard/db --net=host xaecbd/rct-dashboard:latest
```
2. 启动分析器RCT-Analyze
- 默认配置
```
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" --net=host xaecbd/rct-analyze:2.0.0
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" --net=host xaecbd/rct-analyze:latest
```
- 自定义配置(在执行之前,请先在宿主机上放置config/application.properties)
```
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" -v /opt/app/rct/rct-analyze/config:/opt/app/rct/rct-analyze/config -v /data/redis/redis_cluster:/data/redis/redis_cluster --net=host xaecbd/rct-analyze:2.0.0
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" -v /opt/app/rct/rct-analyze/config:/opt/app/rct/rct-analyze/config -v /data/redis/redis_cluster:/data/redis/redis_cluster --net=host xaecbd/rct-analyze:latest
```
根据RDB大小,适当调整最大堆大小
3. 进入系统
Expand Down
2 changes: 1 addition & 1 deletion doc/TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1. ~~[upgrate redis-replicator version](https://github.com/xaecbd/RCT/issues/2)~~
2. rebuild **PrefixAnalyzer** prefix matching algorithm.
2. ~~~rebuild **PrefixAnalyzer** prefix matching algorithm.~~~
3. develop rct-lite
4. add new analyze feature
5. update history report size to user-defined
2 changes: 1 addition & 1 deletion doc/zh-CN/TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1. ~~[upgrate redis-replicator version](https://github.com/xaecbd/RCT/issues/2)~~
2. rebuild **PrefixAnalyzer** prefix matching algorithm.
2. ~~~rebuild **PrefixAnalyzer** prefix matching algorithm.~~~
3. develop rct-lite
4. add new analyze feature
5. update history report size to user-defined

0 comments on commit 602d501

Please sign in to comment.