erlang:system_info(cpu_topology) strange behavior

Frank Muller frank.muller.erl@REDACTED
Thu Oct 8 19:22:59 CEST 2020


Hi guys,

When I attached (-remsh) to my release application (/opt/orca), this call
returns undefined:

(orca@REDACTED)1> erlang:system_info(cpu_topology).
undefined

If try this instead, the call seems to work as expected:

$ /opt/orca/erts-10.7.2.4/bin/erl
1> erlang:system_info(cpu_topology).
[{processor,[{core,[{thread,{logical,0}},
                    {thread,{logical,4}}]},
             {core,[{thread,{logical,1}},{thread,{logical,5}}]},
             {core,[{thread,{logical,2}},{thread,{logical,6}}]},
             {core,[{thread,{logical,3}},{thread,{logical,7}}]}]}]


I’m on Ubuntu16 LTS kernel 4.4.0, Erlang 22.3.4.11.

Help appreciated
/Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20201008/cce9e369/attachment.htm>


More information about the erlang-questions mailing list