how to check rabbitmq is running or not code example Example: check rabbitmq service status sudo service rabbitmq-server status