rabbitmqctl [-n <node>] [-q] <command> [<command options>]
Options:
-n node
-q
Default node is "rabbit@server", where server is the local host. On a host
named "server.example.com", the node name of the RabbitMQ Erlang node will
usually be rabbit@server (unless RABBITMQ_NODENAME has been set to some
non-default value at broker startup time). The output of hostname -s is usually
the correct suffix to use after the "@" sign. See rabbitmq-server(1) for
details of configuring the RabbitMQ broker.
默认的节点是“兔子@服务器”,其中服务器是本地主机。在一个名为“server.example.com”主持人,在二郎的RabbitMQ节点的节点名通常将兔肉@服务器(除非RABBITMQ_NODENAME已被设置为一些非默认值,在代理启动时间)。主机名-s的输出通常是正确的后缀“@”符号后使用。见的RabbitMQ服务器(1),用于配置所述的RabbitMQ经纪人的细节。
Quiet output mode is selected with the "-q" flag. Informational messages are
suppressed when quiet mode is in effect.
安静输出模式可与“-q”标志。参考消息被抑制时,安静模式生效。
Commands:
stop [<pid_file>]
stop_app
start_app
wait <pid_file>
reset
force_reset
rotate_logs <suffix>
join_cluster <clusternode> [--ram]
cluster_status
change_cluster_node_type disc | ram
forget_cluster_node [--offline]
rename_cluster_node oldnode1 newnode1 [oldnode2] [newnode2 ...]
update_cluster_nodes clusternode
force_boot
sync_queue queue
cancel_sync_queue queue
set_cluster_name name
add_user <username> <password>
delete_user <username>
change_password <username> <newpassword>
clear_password <username>
set_user_tags <username> <tag> ...
list_users
add_vhost <vhostpath>
delete_vhost <vhostpath>
list_vhosts [<vhostinfoitem> ...]
set_permissions [-p <vhostpath>] <user> <conf> <write> <read>
clear_permissions [-p <vhostpath>] <username>
list_permissions [-p <vhostpath>]
list_user_permissions <username>
set_parameter [-p <vhostpath>] <component_name> <name> <value>
clear_parameter [-p <vhostpath>] <component_name> <key>
list_parameters [-p <vhostpath>]
set_policy [-p <vhostpath>] [--priority <priority>] [--apply-to <apply-to>]
<name> <pattern> <definition>
clear_policy [-p <vhostpath>] <name>
list_policies [-p <vhostpath>]
list_queues [-p <vhostpath>] [<queueinfoitem> ...]
list_exchanges [-p <vhostpath>] [<exchangeinfoitem> ...]
list_bindings [-p <vhostpath>] [<bindinginfoitem> ...]
list_connections [<connectioninfoitem> ...]
list_channels [<channelinfoitem> ...]
list_consumers [-p <vhostpath>]
status
environment
report
eval <expr>
close_connection <connectionpid> <explanation>
trace_on [-p <vhost>]
trace_off [-p <vhost>]
set_vm_memory_high_watermark <fraction>
<vhostinfoitem> must be a member of the list [name, tracing].
The list_queues, list_exchanges and list_bindings commands accept an optional
virtual host parameter for which to display results. The default value is "/".
该list_queues,list_exchanges和list_bindings命令接受要显示的结果可选的虚拟主机参数。默认值是“/”。
<queueinfoitem> must be a member of the list [name, durable, auto_delete,
arguments, policy, pid, owner_pid, exclusive_consumer_pid,
exclusive_consumer_tag, messages_ready, messages_unacknowledged, messages,
messages_ready_ram, messages_unacknowledged_ram, messages_ram,
messages_persistent, message_bytes, message_bytes_ready,
message_bytes_unacknowledged, message_bytes_ram, message_bytes_persistent,
disk_reads, disk_writes, consumers, consumer_utilisation, memory, slave_pids,
synchronised_slave_pids, state].
<queueinfoitem>必须是列表[名称,坚固耐用,auto_delete,参数,政策,PID,owner_pid,exclusive_consumer_pid,exclusive_consumer_tag,messages_ready,messages_unacknowledged,信息,messages_ready_ram,messages_unacknowledged_ram,messages_ram,messages_persistent,message_bytes,message_bytes_ready,message_bytes_unacknowledged,message_bytes_ram成员,message_bytes_persistent,DISK_READS,disk_writes,消费者,consumer_utilisation,内存,slave_pids,synchronised_slave_pids,状态]。
<exchangeinfoitem> must be a member of the list [name, type, durable,
auto_delete, internal, arguments, policy].
<exchangeinfoitem>必须是列表[名称,类型,坚固耐用,auto_delete,内部,争论,政策]中的一员。
<bindinginfoitem> must be a member of the list [source_name, source_kind,
destination_name, destination_kind, routing_key, arguments].
<bindinginfoitem>必须是列表[SOURCE_NAME,source_kind,destination_name,destination_kind,routing_key,参数]中的一员。
<connectioninfoitem> must be a member of the list [pid, name, port, host,
peer_port, peer_host, ssl, ssl_protocol, ssl_key_exchange, ssl_cipher,
ssl_hash, peer_cert_subject, peer_cert_issuer, peer_cert_validity, state,
channels, protocol, auth_mechanism, user, vhost, timeout, frame_max,
channel_max, client_properties, recv_oct, recv_cnt, send_oct, send_cnt,
send_pend, connected_at].
<connectioninfoitem>必须是列表[PID,名称,端口,主机,peer_port,peer_host,SSL,ssl_protocol,ssl_key_exchange,ssl_cipher,ssl_hash,peer_cert_subject,peer_cert_issuer,peer_cert_validity,州,道,协议,auth_mechanism,用户,虚拟主机中的一员,超时,frame_max,channel_max,client_properties,recv_oct,recv_cnt,send_oct,send_cnt,send_pend,connected_at。
<channelinfoitem> must be a member of the list [pid, connection, name, number,
user, vhost, transactional, confirm, consumer_count, messages_unacknowledged,
messages_uncommitted, acks_uncommitted, messages_unconfirmed, prefetch_count,
global_prefetch_count].
<channelinfoitem>必须是列表[PID,连接,名称,编号,用户,虚拟主机,交易,确认,consumer_count,messages_unacknowledged,messages_uncommitted,acks_uncommitted,messages_unconfirmed,prefetch_count,global_prefetch_count]中的一员。