[erlang-questions] Loaded module version on a diskless node
Thu Aug 9 13:38:29 CEST 2007
How about this:
Attrs = proplists:get_value(attributes, Module:module_info()),
[Vsn] = proplists:get_value(vsn, Atts),
Joel Reymont wrote:
> I need to get the version of a module on a diskless node.
> How does beam_lib:version/1 work in this scenario? Will it ask
> erl_prim_loader to grab the module code and get the version from there?
> If the module has been recompiled on the boot server after it was
> fetched by the diskless node then the module versions will be
> different. Will the boot server version be reported then?
> I thought there was a way to ask for the version of the module loaded
> into memory but can't find the option to do this.
> Thanks, Joel
> erlang-questions mailing list
More information about the erlang-questions