Rabbitmq command to check rabbitmq service status

2,161 views
Skip to first unread message

Arun Kumar

unread,
Jun 29, 2020, 10:08:50 AM6/29/20
to rabbitmq-users
Hi ,

I have installed RabbitMQ 3.8.3 on Erlang 21.3 on windows system. In my application batch file we need to check the Rabbitmq running status before we shoot Rabbitmq commands to create rabbitmq user , enable plugins, create shovels etc. Since Rabbitmq is running as a windows service, when the rabbitmq is started it take few seconds/minutes before it is completely up and running.  Is there  a  Rabbitmq command which we can use to check if the Rabbitmq service is completely UP and running before we shoot Rabbitmq commands?

Wesley Peng

unread,
Jun 29, 2020, 8:40:08 PM6/29/20
to rabbitm...@googlegroups.com
Sure. Try this one:

# rabbitmqctl status
Status of node rabbit@ubuntu ...
Runtime

OS PID: 6792
OS: Linux
Uptime (seconds): 1093545
RabbitMQ version: 3.8.5
Node name: rabbit@ubuntu
Erlang configuration: Erlang/OTP 23 [erts-11.0.2] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:64]
Erlang processes: 442 used, 1048576 limit
Scheduler run queue: 1
Cluster heartbeat timeout (net_ticktime): 60

Plugins
...


Regards.


On Mon, Jun 29, 2020 at 10:09 PM Arun Kumar <arun....@gmail.com> wrote:
Hi ,

I have installed RabbitMQ 3.8.3 on Erlang 21.3 on windows system. In my application batch file we need to check the Rabbitmq running status before we shoot Rabbitmq commands to create rabbitmq user , enable plugins, create shovels etc. Since Rabbitmq is running as a windows service, when the rabbitmq is started it take few seconds/minutes before it is completely up and running.  Is there  a  Rabbitmq command which we can use to check if the Rabbitmq service is completely UP and running before we shoot Rabbitmq commands?

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/630da79e-184e-427d-8272-b166f798a925o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages