Is there a way to print configuration parameters?

冷暖自知 提交于 2021-02-10 18:28:10

问题


I have configured two parameters.

inet_dist_listen_min = X
inet_dist_listen_max = Y

in the config file and I copied it the config file in the place it should be.
Is there a way to know that either RabbitMQ or ERL receive the right parameter?

Thanks.

Note: Eventually I did it using a sniffer (saw the TCP port in the packet) and knew it received it,
but is there a quicker way?


回答1:


for rabbitmq

rabbitmqctl environment

for erlang env params

rabbitmqctl eval 'application:get_all_env(kernel).'

and

epmd -names



回答2:


https://www.rabbitmq.com/parameters.html :

rabbitmqctl list_parameters {-p vhost}

Isn't it that you need?



来源:https://stackoverflow.com/questions/22435276/is-there-a-way-to-print-configuration-parameters

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!