emqx_ctl admins没有这个命令

环境信息

  • EMQX 版本:4.0.0
  • 操作系统及版本:使用docker安装
  • 其他

问题描述

配置文件及日志

/opt/emqx $ emqx_ctl --help
Usage: emqx_ctl
--------------------------------------------------------------------------------
mgmt list                                       # List Applications
mgmt insert <AppId> <Name>                      # Add Application of REST API
mgmt update <AppId> <status>                    # Update Application of REST API
mgmt lookup <AppId>                             # Get Application of REST API
mgmt delete <AppId>                             # Delete Application of REST API
--------------------------------------------------------------------------------
status                                          # Show broker status
--------------------------------------------------------------------------------
broker                                          # Show broker version, uptime and description
broker stats                                    # Show broker statistics of clients, topics, subscribers
broker metrics                                  # Show broker metrics
--------------------------------------------------------------------------------
cluster join <Node>                             # Join the cluster
cluster leave                                   # Leave the cluster
cluster force-leave <Node>                      # Force the node leave from cluster
cluster status                                  # Cluster status
--------------------------------------------------------------------------------
acl reload                                      # reload etc/acl.conf
--------------------------------------------------------------------------------
clients list                                    # List all clients
clients show <ClientId>                         # Show a client
clients kick <ClientId>                         # Kick out a client
--------------------------------------------------------------------------------
routes list                                     # List all routes
routes show <Topic>                             # Show a route
--------------------------------------------------------------------------------
subscriptions list                              # List all subscriptions
subscriptions show <ClientId>                   # Show subscriptions of a client
subscriptions add <ClientId> <Topic> <QoS>      # Add a static subscription manually
subscriptions del <ClientId> <Topic>            # Delete a static subscription manually
--------------------------------------------------------------------------------
plugins list                                    # Show loaded plugins
plugins load <Plugin>                           # Load plugin
plugins unload <Plugin>                         # Unload plugin
plugins reload <Plugin>                         # Reload plugin
--------------------------------------------------------------------------------
vm all                                          # Show info of Erlang VM
vm load                                         # Show load of Erlang VM
vm memory                                       # Show memory of Erlang VM
vm process                                      # Show process of Erlang VM
vm io                                           # Show IO of Erlang VM
vm ports                                        # Show Ports of Erlang VM
--------------------------------------------------------------------------------
mnesia                                          # Mnesia system info
--------------------------------------------------------------------------------
log set-level <Level>                           # Set the overall log level
log primary-level                               # Show the primary log level now
log primary-level <Level>                       # Set the primary log level
log handlers list                               # Show log handlers
log handlers set-level <HandlerId> <Level>      # Set log level of a log handler
--------------------------------------------------------------------------------
trace list                                      # List all traces started
trace start client <ClientId> <File> [<Level>]  # Traces for a client
trace stop  client <ClientId>                   # Stop tracing for a client
trace start topic  <Topic>    <File> [<Level>]  # Traces for a topic
trace stop  topic  <Topic>                      # Stop tracing for a topic
--------------------------------------------------------------------------------
listeners                                       # List listeners
listeners stop    <Proto> <Port>                # Stop a listener
--------------------------------------------------------------------------------
recon memory                                    # recon_alloc:memory/2
recon allocated                                 # recon_alloc:memory(allocated_types, current|max)
recon bin_leak                                  # recon:bin_leak(100)
recon node_stats                                # recon:node_stats(10, 1000)
recon remote_load Mod                           # recon:remote_load(Mod)
--------------------------------------------------------------------------------
retainer info                                   # Show the count of retained messages
retainer topics                                 # Show all topics of retained messages
retainer clean                                  # Clean all retained messages
retainer clean <Topic>                          # Clean retained messages by the specified topic filter
--------------------------------------------------------------------------------
rules list                                      # List all rules
rules show <RuleId>                             # Show a rule
rules create                                    # Create a rule
rules delete <RuleId>                           # Delete a rule
--------------------------------------------------------------------------------
rule-actions list                               # List actions
rule-actions show <ActionId>                    # Show a rule action
--------------------------------------------------------------------------------
resources create                                # Create a resource
resources list [-t <ResourceType>]              # List resources
resources show <ResourceId>                     # Show a resource
resources delete <ResourceId>                   # Delete a resource
--------------------------------------------------------------------------------
resource-types list                             # List all resource-types
resource-types show <Type>                      # Show a resource-type