开始学习
< 返回

EMQX 基本命令

EMQ X 提供了 emqx 命令行工具,方便用户对 EMQ X 进行启动、关闭、进入控制台等操作。下面是 emqx 命令的一些使用示例。

1、后台启动 EMQ X Broker

emqx start

2、关闭 EMQ X Broker

emqx stop

3、重启 EMQ X Broker

emqx restart

4、使用控制台启动 EMQ X Broker

emqx console

5、使用控制台启动 EMQ X Broker

emqx foreground

emqx console 不同,emqx foreground 不支持输入 Erlang 命令。

6、Ping EMQ X Broker

emqx ping

以上命令为用户常用命令,此外 emqx 命令还有一些其他选项为方便开发者使用,普通用户无需关心。

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Please Share Your Feedback
How Can We Improve This Article?
文章目录