[erlang-questions] erl -name foo and hostname

Dmitry <>
Wed May 25 15:53:23 CEST 2016


Hi
here is my data:
[ ~]# hostnamekazootest2.mydomain.local[ ~]# hostname -fkazootest2.mydomain.local[ ~]# erl -name fooErlang R15B03 (erts-5.9.3.1) [source] [64-bit] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.9.3.1  (abort with ^G)()1>

 

    On Monday, May 23, 2016 3:10 PM, Dmitry <> wrote:
 

 Hi
 cat /etc/hosts127.0.0.1               localhost.localdomain localhost::1             localhost6.localdomain6 localhost6192.168.175.135   kazootest2.mydomain.local kazootest2
[ ~]# cat /etc/sysconfig/networkNETWORKING=yesNETWORKING_IPV6=noHOSTNAME=kazootest2.mydomain.local
[ ~]# erl -name fooErlang R15B03 (erts-5.9.3.1) [source] [64-bit] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.9.3.1  (abort with ^G)()1>

Why dous it shows kazootest2.localdomain?
Any help appreciated

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160525/2eb37ff9/attachment.html>


More information about the erlang-questions mailing list