RabbitMQ From the Command Line
List queues messages and consumers
$ sudo rabbitmqctl list_queues name messages consumers
Listing queues ...
test.two.queue 0 0
test.one.queue 0 0
List exchanges
$ sudo rabbitmqctl list_exchanges
$ sudo rabbitmqctl list_queues name messages consumers
Listing queues ...
test.two.queue 0 0
test.one.queue 0 0
$ sudo rabbitmqctl list_exchanges