Skip to content

Instantly share code, notes, and snippets.

@ChristopherBiscardi
Created April 1, 2014 00:17
Show Gist options
  • Save ChristopherBiscardi/9905206 to your computer and use it in GitHub Desktop.
Save ChristopherBiscardi/9905206 to your computer and use it in GitHub Desktop.
./rel/riak/bin/riak console
config is OK
-config /vagrant/riak-riak-2.0.0pre20/rel/riak/data/generated.configs/app.2014.04.01.00.11.10.config -args_file /vagrant/riak-riak-2.0.0pre20/rel/riak/data/generated.configs/vm.2014.04.01.00.11.10.args -vm_args /vagrant/riak-riak-2.0.0pre20/rel/riak/data/generated.configs/vm.2014.04.01.00.11.10.args
Exec: /vagrant/riak-riak-2.0.0pre20/rel/riak/bin/../erts-5.10.2/bin/erlexec -boot /vagrant/riak-riak-2.0.0pre20/rel/riak/bin/../releases/2.0.0pre20/riak -config /vagrant/riak-riak-2.0.0pre20/rel/riak/data/generated.configs/app.2014.04.01.00.11.10.config -args_file /vagrant/riak-riak-2.0.0pre20/rel/riak/data/generated.configs/vm.2014.04.01.00.11.10.args -vm_args /vagrant/riak-riak-2.0.0pre20/rel/riak/data/generated.configs/vm.2014.04.01.00.11.10.args -pa /vagrant/riak-riak-2.0.0pre20/rel/riak/bin/../lib/basho-patches -- console
Root: /vagrant/riak-riak-2.0.0pre20/rel/riak/bin/..
Usage: beam.smp [flags] [ -- [init_args] ]
The flags are:
-a size suggested stack size in kilo words for threads
in the async-thread pool, valid range is [16-8192]
-A number set number of threads in async thread pool,
valid range is [0-1024]
-B[c|d|i] c to have Ctrl-c interrupt the Erlang shell,
d (or no extra option) to disable the break
handler, i to ignore break signals
-c disable continuous date/time correction with
respect to uptime
-d don't write a crash dump for internally detected errors
(halt(String) will still produce a crash dump)
-fn[u|a|l] Control how filenames are interpreted
-hms size set minimum heap size in words (default 233)
-hmbs size set minimum binary virtual heap size in words (default 32768)
-K boolean enable or disable kernel poll
-n[s|a|d] Control behavior of signals to ports
Note that this flag is deprecated!
-M<X> <Y> memory allocator switches,
see the erts_alloc(3) documentation for more info.
-pc <set> Control what characters are considered printable (default latin1)
-P number set maximum number of processes on this node,
valid range is [1024-134217727]
-Q number set maximum number of ports on this node,
valid range is [1024-134217727]
-R number set compatibility release number,
valid range [14-16]
-r force ets memory block to be moved on realloc
-rg amount set reader groups limit
-sbt type set scheduler bind type, valid types are:
-stbt type u|ns|ts|ps|s|nnts|nnps|tnnps|db
-sbwt val set scheduler busy wait threshold, valid values are:
none|very_short|short|medium|long|very_long.
-scl bool enable/disable compaction of scheduler load,
see the erl(1) documentation for more info.
-sct cput set cpu topology,
see the erl(1) documentation for more info.
-sws val set scheduler wakeup strategy, valid values are:
default|legacy.
-swct val set scheduler wake cleanup threshold, valid values are:
very_lazy|lazy|medium|eager|very_eager.
-swt val set scheduler wakeup threshold, valid values are:
very_low|low|medium|high|very_high.
-sss size suggested stack size in kilo words for scheduler threads,
valid range is [4-8192]
-spp Bool set port parallelism scheduling hint
-S n1:n2 set number of schedulers (n1), and number of
schedulers online (n2), valid range for both
numbers are [1-1024]
-t size set the maximum number of atoms the emulator can handle
valid range is [8192-0]
-T number set modified timing level,
valid range is [0-9]
-V print Erlang version
-v turn on chatty mode (GCs will be reported etc)
-W<i|w> set error logger warnings mapping,
see error_logger documentation for details
-zdbbl size set the distribution buffer busy limit in kilobytes
valid range is [1-2097151]
Note that if the emulator is started with erlexec (typically
from the erl script), these flags should be specified with +.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment