[erlang-questions] SMP enabled or not?

Michael Schreckenbauer grimlog@REDACTED
Sat Jul 23 22:48:08 CEST 2011


Hi,

On Saturday 23 July 2011 22:10:06 Zabrane Mickael wrote:
> Hi,
 
> Is there an Erlang way which let me know if:

> 1. the Erlang VM was compiled with SMP support or not?
> 2. the Erlang VM was started with SMP enabled (i.e "erl -smp enable" )

erlang:system_info(smp_support).

> 3. how many cores are available on my machine?

erlang:system_info(logical_processors_available).

> Regards
> Z.

HTH,
Michael




More information about the erlang-questions mailing list