[rabbitmq-discuss] Shovel stuck?

Matthias Radestock matthias at rabbitmq.com
Wed Aug 15 17:48:42 BST 2012


On 15/08/12 16:31, Emile Joubert wrote:
> rabbitmqctl eval 'supervisor2:which_children(rabbit_shovel_sup).'

That would indeed be good to have.

> rabbitmqctl eval 'erlang:process_info(shell_default:pid(x,y,z)).'

Actually, the following would probably be more useful to us:

rabbitmqctl eval '[io:format("~p:~n~s~n", [Pid, element(2, 
erlang:process_info(Pid, backtrace))]) || {_, Pid, _, _} <- 
supervisor2:which_children(rabbit_shovel_sup), Pid =/= undefined].'

(all on one line).

Matthias.


More information about the rabbitmq-discuss mailing list