LATEST VERSION: 3.6.5 - CHANGELOG
Pivotal RabbitMQ v3.x

rabbitmq-echopid.bat manual page

This is the documentation for rabbitmq-echopid.bat.

For more general documentation, please see the administrator’s guide.

Name

rabbitmq-echopid.bat — return the process id of the Erlang runtime hosting RabbitMQ

Synopsis

rabbitmq-echopid.bat {sname}

Description

RabbitMQ is an implementation of AMQP, the emerging standard for high performance enterprise messaging. The RabbitMQ server is a robust and scalable implementation of an AMQP broker.

Running rabbitmq-echopid will attempt to discover and echo the process id (PID) of the Erlang runtime process (erl.exe) that is hosting RabbitMQ. To allow erl.exe time to start up and load RabbitMQ, the script will wait for ten seconds before timing out if a suitable PID cannot be found.

If a PID is discovered, the script will echo it to stdout before exiting with a ERRORLEVEL of 0. If no PID is discovered before the timeout, nothing is written to stdout and the script exits setting ERRORLEVEL to 1.

Note that this script only exists on Windows due to the need to wait for erl.exe and possibly time-out. To obtain the PID on Unix set RABBITMQ_PID_FILE before starting rabbitmq-server and do not use “-detached”.

Options

{sname}
The short-name form of the RabbitMQ node name.