提交 3851c16f 编写于 作者: H huolibo

docs: shell format

上级 b42f2d95
...@@ -41,7 +41,7 @@ taosKeeper ...@@ -41,7 +41,7 @@ taosKeeper
执行以下命令即可快速体验 taosKeeper。当不指定 taosKeeper 配置文件时,优先使用 `/etc/taos/keeper.toml` 配置,否则将使用默认配置。 执行以下命令即可快速体验 taosKeeper。当不指定 taosKeeper 配置文件时,优先使用 `/etc/taos/keeper.toml` 配置,否则将使用默认配置。
```shell ```shell
$ taoskeeper -c <keeper config file> taoskeeper -c <keeper config file>
``` ```
**下面是配置文件的示例:** **下面是配置文件的示例:**
...@@ -92,12 +92,10 @@ taosKeeper 作为 TDengine 监控指标的导出工具,可以将 TDengine 产 ...@@ -92,12 +92,10 @@ taosKeeper 作为 TDengine 监控指标的导出工具,可以将 TDengine 产
#### 查看监控结果集 #### 查看监控结果集
```shell ```shell
$ taos; $ taos
#
// 如上示例,使用 log 库作为监控日志存储位置 > use log;
$ use log; > select * from cluster_info limit 1;
$ select * from cluster_info limit 1;
``` ```
结果示例: 结果示例:
...@@ -112,7 +110,7 @@ Query OK, 1 rows in database (0.036162s) ...@@ -112,7 +110,7 @@ Query OK, 1 rows in database (0.036162s)
#### 导出监控指标 #### 导出监控指标
```shell ```shell
$ curl http://127.0.0.1:6043/metrics curl http://127.0.0.1:6043/metrics
``` ```
部分结果集: 部分结果集:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册