check status of rabbitmq broker locally code example
Example 1: check rabbitmq service status
sudo service rabbitmq-server status
Example 2: rabbitmq list queues
sudo rabbitmqctl list_queues
sudo service rabbitmq-server status
sudo rabbitmqctl list_queues