yatskevich
yatskevich

Reputation: 2093

How to monitor communication between two Erlang nodes

I'm playing around with distributed Erlang. It's a great fun, but I want to reveal the magic a bit and see what is actually being sent between Erlang nodes.

Could you please suggest any Erlang modules or external tools available for this?

Thank you in advance!

UPDATE:

BTW, Debian users can install Wireshark using sudo apt-get install wireshark

Upvotes: 4

Views: 1011

Answers (1)

marcelog
marcelog

Reputation: 7180

How about a network sniffer, like tcpdump or Wireshark sniffing on 4369/tcp? Wireshark has a special filter for the erlang distributed protocol (see ERLDP in the list of built-in expressions).

For more low-level information about the protocol itself, see http://www.erlang.org/doc/apps/erts/erl_dist_protocol.html

Here's a capture sample, between a linux node and windows node:

enter image description here

Upvotes: 6

Related Questions