Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1707211
  • 博文数量: 607
  • 博客积分: 10031
  • 博客等级: 上将
  • 技术积分: 6633
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-30 17:41
文章分类

全部博文(607)

文章存档

2011年(2)

2010年(15)

2009年(58)

2008年(172)

2007年(211)

2006年(149)

我的朋友

分类:

2009-07-16 15:39:51

F:\erltest>erl -sname a

Eshell V5.5.5  (abort with ^G)

(a@chiyuan)1>

F:\erltest>erl -sname b

Eshell V5.5.5  (abort with ^G)

(b@chiyuan)1>

(a@chiyuan)1> net_adm:ping(b@chiyuan).

pong

(a@chiyuan)3> mnesia:system_info().

===> System info in version {mnesia_not_loaded,a@chiyuan,{1198,764086,46000}}, d

ebug level = none <===

opt_disc. Directory "f:/erltest/Mnesia.a@chiyuan" is NOT used.

use fallback at restart = false

running db nodes   = []

stopped db nodes   = [a@chiyuan]

no

 

 

(a@chiyuan)4> mnesia:create_schema([a@chiyuan, b@chiyuan]).

ok

(a@chiyuan)5> mnesia:system_info().

===> System info in version "4.3.5", debug level = none <===

opt_disc. Directory "f:/erltest/Mnesia.a@chiyuan" is used.

use fallback at restart = true

running db nodes   = []

stopped db nodes   = [b@chiyuan,a@chiyuan]

no

 

(a@chiyuan)6> mnesia:start().

ok

(a@chiyuan)7> mnesia:system_info().

===> System info in version "4.3.5", debug level = none <===

opt_disc. Directory "f:/erltest/Mnesia.a@chiyuan" is used.

use fallback at restart = false

running db nodes   = [a@chiyuan]

stopped db nodes   = [b@chiyuan]

master node tables = []

remote             = []

ram_copies         = []

disc_copies        = [schema]

disc_only_copies   = []

[{a@chiyuan,disc_copies}] = [schema]

2 transactions committed, 0 aborted, 0 restarted, 0 logged to disc

0 held locks, 0 in queue; 0 local transactions, 0 remote

0 transactions waits for other nodes: []

Yes

 

 

(b@chiyuan)1> mnesia:start().

ok

(b@chiyuan)2> mnesia:system_info().

===> System info in version "4.3.5", debug level = none <===

opt_disc. Directory "f:/erltest/Mnesia.b@chiyuan" is used.

use fallback at restart = false

running db nodes   = [a@chiyuan,b@chiyuan]

stopped db nodes   = []

master node tables = []

remote             = []

ram_copies         = []

disc_copies        = [schema]

disc_only_copies   = []

[{a@chiyuan,disc_copies},{b@chiyuan,disc_copies}] = [schema]

3 transactions committed, 0 aborted, 1 restarted, 0 logged to disc

0 held locks, 0 in queue; 0 local transactions, 0 remote

0 transactions waits for other nodes: []

yes

阅读(640) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~