Skip to content

Instantly share code, notes, and snippets.

View sadir's full-sized avatar
🏗️

Morgan Sadr-Hashemi sadir

🏗️
View GitHub Profile
@samsondav
samsondav / observer.md
Created November 30, 2017 13:11 — 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