1. System Principles

1 System Principles

1.1 Starting the System

An Erlang runtime system is started with command erl:

% erl
Erlang/OTP 17 [erts-6.0] [hipe] [smp:8:8]

Eshell V6.0  (abort with ^G)
1> 

erl understands a number of command-line arguments, see the erl(1) manual page in ERTS. Some of them are also described in this chapter.

Application programs can access the values of the command-line arguments by calling the function init:get_argument(Key) or init:get_arguments(). See the init(3) manual page in ERTS.

1.2 Restarting and Stopping the System

The runtime system is halted by calling halt/0,1. For details, see the erlang(3) manual page in ERTS.

The module init