Hi,<br><br>I was wondering if anyone had a procedure to connect to running rabbitmq node and<br> read/extract mnesia records using erlang. For the lack of such tool, I use grep to try to find stuck<br>messages in the various queues (cd /var/lib/rabbitmq/mnesia/...node.../ and grep one of the queues).<br>
<br>Something like ... which seems to only show the schema table.<br><br>adazzi@cumulonimbus:~$ erl name node   <br>Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:8:8] [rq:8] [async-threads:0] [hipe] [kernel-poll:false]<br>
<br>Eshell V5.7.4  (abort with ^G)<br>1&gt; mnesia:start().<br>ok<br>2&gt; mnesia:change_config (extra_db_nodes, [ &#39;<a href="mailto:node@cumlonimbus.dev.foo.com">node@cumlonimbus.dev.foo.com</a>&#39; ]).<br>{ok,[]}<br>
3&gt; mnesia:info().<br>---&gt; Processes holding locks &lt;--- <br>---&gt; Processes waiting for locks &lt;--- <br>---&gt; Participant transactions &lt;--- <br>---&gt; Coordinator transactions &lt;---<br>---&gt; Uncertain transactions &lt;--- <br>
---&gt; Active tables &lt;--- <br>schema         : with 1        records occupying 424      words of mem<br>===&gt; System info in version &quot;4.4.12&quot;, debug level = none &lt;===<br>opt_disc. Directory &quot;/home/adazzi/Mnesia.nonode@nohost&quot; is NOT used.<br>
use fallback at restart = false<br>running db nodes   = [nonode@nohost]<br>stopped db nodes   = [] <br>master node tables = []<br>remote             = []<br>ram_copies         = [schema]<br>disc_copies        = []<br>disc_only_copies   = []<br>
[{nonode@nohost,ram_copies}] = [schema]<br>3 transactions committed, 0 aborted, 0 restarted, 0 logged to disc<br>0 held locks, 0 in queue; 0 local transactions, 0 remote<br>0 transactions waits for other nodes: []<br>ok<br>
4&gt; <br><br>Thanks!<br><br>-A<br><br>