- 论坛徽章:
- 30
|
在运行wmnesia所在的节点- net_adm:ping('a@sunil').
- pang
- 17> net_kernel:start([b,shortnames]).
- (b@sunil)20> node().
- b@sunil
- (b@sunil)21> net_adm:ping('a@sunil').
- =PROGRESS REPORT==== 4-Nov-2015::22:09:36 ===
- supervisor: {local,inet_gethost_native_sup}
- started: [{pid,<0.6499.0>},{mfa,{inet_gethost_native,init,[[]]}}]
- =PROGRESS REPORT==== 4-Nov-2015::22:09:36 ===
- supervisor: {local,kernel_safe_sup}
- started: [{pid,<0.6498.0>},
- {id,inet_gethost_native_sup},
- {mfargs,{inet_gethost_native,start_link,[]}},
- {restart_type,temporary},
- {shutdown,1000},
- {child_type,worker}]
- pong
- (b@sunil)22> node().
- b@sunil
- (b@sunil)23> nodes().
- [a@sunil]
- (b@sunil)27> mnesia:stop().
- =INFO REPORT==== 4-Nov-2015::22:17:06 ===
- application: mnesia
- exited: stopped
- type: temporary
- stopped
- (b@sunil)28> mnesia:start().
复制代码 |
|