<div dir="ltr"><div>Poor man's service discovery:</div><div><br></div>[{Node, rpc:call(Node, application, which_applications, [])} || Node <- nodes() ]<br><div><br></div><div>It returns list of all application installed in all nodes in a form:</div><div><div>[{'foo@beast',[{stdlib,"ERTS CXC 138 10","2.2"},</div><div> {kernel,"ERTS CXC 138 10","3.0.3"}]}]</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 5, 2015 at 3:41 AM, Ben Hsu <span dir="ltr"><<a href="mailto:benhsu@gmail.com" target="_blank">benhsu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Erlangers<div><br></div><div>I'm curious, is there a way to ask a remote erlang node what services it provides? either in core Erlang or OTP?</div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>