vhost rabbitmq code example Example: how to check rabbitmq vhosts rabbitmqctl list_vhosts | xargs -n1 rabbitmqctl list_queues -p