Basic commands
EMQX provides the emqx command line tool to start, stop, and enter the console of EMQX.
emqx startStart the EMQX Broker
emqx stopStop the EMQX Broker
emqx restartRestart the EMQX Broker
emqx consoleStart the EMQX Broker with console
emqx foregroundStart EMQX Broker with console. Unlike
emqx console,emqx foregrounddoes not support entering Erlang commands;emqx pingPing EMQX Broker
emqx check_confCheck if the configuration file format is ok. You may run this command before starting to check if the configuration file format is correct.
The above commands are commonly used by users. In addition, the emqx command has some other options for the convenience of developers (ordinary users do not need to care about those).
