Skip to content

Instantly share code, notes, and snippets.

@daya
Created April 6, 2011 21:29
Show Gist options
  • Save daya/906573 to your computer and use it in GitHub Desktop.
Save daya/906573 to your computer and use it in GitHub Desktop.
riak
1.9.2 ip-192-168-1-126: [master] $ !ps
ps aux | grep beam
dayas 23164 0.3 0.3 2485040 27604 s012 Ss+ 4:23PM 0:01.62 /Users/dayas/Learning/erlang/riak/dev/dev3/erts-5.8.1/bin/beam.smp -K true -A 64 -- -root /Users/dayas/Learning/erlang/riak/dev/dev3 -progname riak -- -home /Users/dayas -- -boot /Users/dayas/Learning/erlang/riak/dev/dev3/releases/0.14.0/riak -embedded -config /Users/dayas/Learning/erlang/riak/dev/dev3/etc/app.config -name [email protected] -setcookie riak -- console
dayas 23089 0.1 0.3 2486576 27976 s011 Ss+ 4:23PM 0:01.62 /Users/dayas/Learning/erlang/riak/dev/dev2/erts-5.8.1/bin/beam.smp -K true -A 64 -- -root /Users/dayas/Learning/erlang/riak/dev/dev2 -progname riak -- -home /Users/dayas -- -boot /Users/dayas/Learning/erlang/riak/dev/dev2/releases/0.14.0/riak -embedded -config /Users/dayas/Learning/erlang/riak/dev/dev2/etc/app.config -name [email protected] -setcookie riak -- console
dayas 23871 0.0 0.0 2435548 108 s009 U 4:28PM 0:00.00 grep beam
dayas 23028 0.0 0.3 2485040 27604 s010 Ss+ 4:23PM 0:01.58 /Users/dayas/Learning/erlang/riak/dev/dev1/erts-5.8.1/bin/beam.smp -K true -A 64 -- -root /Users/dayas/Learning/erlang/riak/dev/dev1 -progname riak -- -home /Users/dayas -- -boot /Users/dayas/Learning/erlang/riak/dev/dev1/releases/0.14.0/riak -embedded -config /Users/dayas/Learning/erlang/riak/dev/dev1/etc/app.config -name [email protected] -setcookie riak -- console
1.9.2 ip-192-168-1-126: [master] $ dev2/bin/riak stop
Learning Erlang in "/Users/dayas/Learning/erlang/riak/dev/dev2"
/Users/dayas/Learning/erlang/riak/dev/dev2
Now in:"/Users/dayas/Learning/erlang/riak/dev/dev2"
ok
^[[A1.9.2 ip-192-168-1-126: [master] $ dev1/bin/riak stop
Learning Erlang in "/Users/dayas/Learning/erlang/riak/dev/dev1"
/Users/dayas/Learning/erlang/riak/dev/dev1
Now in:"/Users/dayas/Learning/erlang/riak/dev/dev1"
ok
1.9.2 ip-192-168-1-126: [master] $ dev3/bin/riak stop
Learning Erlang in "/Users/dayas/Learning/erlang/riak/dev/dev3"
/Users/dayas/Learning/erlang/riak/dev/dev3
Now in:"/Users/dayas/Learning/erlang/riak/dev/dev3"
ok
1.9.2 ip-192-168-1-126: [master] $ dev1/bin/riak -h
Usage: riak {start|stop|restart|reboot|ping|console|attach}
1.9.2 ip-192-168-1-126: [master] $ dev1/bin/riak start
1.9.2 ip-192-168-1-126: [master] $ dev2/bin/riak start
1.9.2 ip-192-168-1-126: [master] $ dev3/bin/riak start
1.9.2 ip-192-168-1-126: [master] $ dev2/bin/riak-admin join [email protected]
Node is not running!
1.9.2 ip-192-168-1-126: [master] $ dev3/bin/riak-admin join [email protected]
Node is not running!
1.9.2 ip-192-168-1-126: [master] $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment