Skip to content

Instantly share code, notes, and snippets.

@niedbalski
Last active May 25, 2017 18:51
Show Gist options
  • Save niedbalski/646e7cdf1fef99e6cc3b82a2634fb0a3 to your computer and use it in GitHub Desktop.
Save niedbalski/646e7cdf1fef99e6cc3b82a2634fb0a3 to your computer and use it in GitHub Desktop.
connect to erlang vm
erl -sname tester -setcookie $(cat /var/lib/rabbitmq/.erlang.cookie) -remsh rabbit@$(hostname)
io:format("~p", [dict:find(rabbit, dict:from_list(rabbit:environment()))]).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment