I check the rabbitmq docs and find this commands.
rabbitmqctl close_connection {connectionpid} {explanation}
rabbitmqctl close_connection "<rab...@tanto.4262.0>" "go away"
rabbitmqctl list_consumers
Listing consumers in vhost / ...
queue_name channel_pid consumer_tag ack_required prefetch_count arguments
test.queue <rab...@host-10-224-245-91.1.862.0> amq.ctag-hmnHyNw43zsWSOoBUC7aNg false 0 []
rabbitmqctl list_connections
Listing connections ...
user peer_host peer_port state
guest 10.224.68.214 56613 running
if I use rabbitmqctl list_connections to list connections, then what's the format of the {connectionpid}?I want to use rabbitmqctl close_connection {connectionpid} {explanation} to close a connection,I can't find an example.