Skip to content

Instantly share code, notes, and snippets.

View romul's full-sized avatar

Roman Smirnov romul

View GitHub Profile
@romul
romul / observer.md
Created November 13, 2015 12:51 — forked from pnc/observer.md
Using Erlang observer/appmon remotely

Using OTP's observer (appmon replacement) remotely

$ ssh remote-host "epmd -names"
epmd: up and running on port 4369 with data:
name some_node at port 58769

Note the running on port for epmd itself and the port of the node you're interested in debugging. Reconnect to the remote host with these ports forwarded:

$ ssh -L 4369:localhost:4369 -L 58769:localhost:58769 remote-host