Skip to content

Instantly share code, notes, and snippets.

@f9n
Created November 7, 2019 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save f9n/5b184d3d8181cf9832926738184206cf to your computer and use it in GitHub Desktop.
Save f9n/5b184d3d8181cf9832926738184206cf to your computer and use it in GitHub Desktop.
rabbitmq list queues on all vhosts
#!/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