erlang:system_info(cpu_topology) strange behavior
Thu Oct 8 19:35:40 CEST 2020
Answering my own question.
The second attempt worked because I was under “root”.
Attaching to the release with -remsh failed because the node was running
under user “orca” which has less privileges.
Is this an expected behavior?
> Hi guys,
> When I attached (-remsh) to my release application (/opt/orca), this call
> returns undefined:
> (orca@REDACTED)1> erlang:system_info(cpu_topology).
> 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).
> I’m on Ubuntu16 LTS kernel 4.4.0, Erlang 184.108.40.206.
> Help appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions