[erlang-questions] Disable Distribution

Ahmed Omar spawn.think@REDACTED
Fri Apr 15 11:02:58 CEST 2016


On Mac OS X netstat doesn't support the same options.

Instead you could use

lsof -n -iTCP | grep LISTEN | grep beam

Best Regards,
- Ahmed Omar
http://about.me/spawn.think/

On Fri, Apr 15, 2016 at 8:27 AM, Richard A. O'Keefe <ok@REDACTED>
wrote:

>
>
> On 15/04/16 5:03 am, Magnus Henoch wrote:
>
>> Yes, leaving out the -sname/-name option is enough. You can verify this
>> by looking for open ports for "beam" processes with netstat:
>>
>> $ netstat -ltpn | grep beam
>>
>> With -sname, it shows one open port:
>>
>> tcp 0      0 0.0.0.0:36551 <http://0.0.0.0:36551> 0.0.0.0:*
>>  LISTEN      29262/beam.smp
>>
>
> For what it's worth, MacOS X 10.9 doesn't accept those command line
> options.
> % netstat -a
> shows these
> tcp4       0      0  localhost.epmd         localhost.61991 ESTABLISHED
> tcp4       0      0  localhost.61991        localhost.epmd ESTABLISHED
> tcp4       0      0  *.61990                *.* LISTEN
> tcp4       0      0  *.epmd                 *.* LISTEN
> when running with -sname; no lines contain 'beam'.
>
> I would like to know what the right command line options are for Mac OS X,
> if this is wrong.
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160415/cc9b0681/attachment.htm>


More information about the erlang-questions mailing list