[erlang-questions] SMP enabled or not?
erlang
erlangy@REDACTED
Sat Jul 23 22:56:31 CEST 2011
Thanks guys.
Le 23 juil. 2011 à 22:48, Michael Schreckenbauer a écrit :
> 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).
More information about the erlang-questions
mailing list