Created
November 7, 2019 12:31
-
-
Save f9n/5b184d3d8181cf9832926738184206cf to your computer and use it in GitHub Desktop.
rabbitmq list queues on all vhosts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://stackoverflow.com/questions/43799932/rabbitmq-list-queues-on-all-vhosts | |
for i in $(rabbitmqctl list_vhosts); do | |
echo "vhost: $i" && rabbitmqctl list_queues -p $i; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment