[erlang-questions] Easy way to tell of SMP is enabled

Count László de Almásy calmasy@REDACTED
Mon Nov 20 18:50:41 CET 2006


On 11/20/06, James Hague <james.hague@REDACTED> wrote:
> How can I tell if SMP support is enabled for the emulator?  I want to
> verify that I compiled it correctly for SMP support.

Start erl with the '-smp' option and it will show you the # of procs it sees:

$ erl -smp
Erlang (BEAM) emulator version 5.5.2 [source] [smp:2]
[async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.5.2  (abort with ^G)
1>

-- 
Cheers, László




More information about the erlang-questions mailing list