有没有办法打印配置参数? [英] Is there a way to print configuration parameters?
本文介绍了有没有办法打印配置参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经配置了两个参数.
I have configured two parameters.
inet_dist_listen_min = X
inet_dist_listen_max = Y
在配置文件中,我将配置文件复制到应有的位置.
有没有办法知道RabbitMQ或ERL都接收到正确的参数?
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?
谢谢.
注意:最终,我使用嗅探器(在数据包中看到了TCP端口)做到了,并且知道它已收到它,
但是有更快的方法吗?
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?
推荐答案
对于Rabbitmq
for rabbitmq
rabbitmqctl environment
用于erlang环境参数
for erlang env params
rabbitmqctl eval 'application:get_all_env(kernel).'
和
epmd -names
这篇关于有没有办法打印配置参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文