[erlang-questions] How to find the full OTP release number (including patch level)?

Mats Cronqvist <>
Wed Jun 6 10:19:29 CEST 2007


Bill Clementson wrote:
> Bjorn Gustavsson <bjorn <at> erix.ericsson.se> writes:
> 
>> Currently, you can't.
> 
> Oh. At least that explains why I can't find it in the documentation. ;-)
> 
>  
>> Bill Clementson <billclem <at> gmail.com> writes:
>>
>>> I can use "erlang:system_info(otp_release)" to get "R11B", but what
>>> can I use to programmatically find out the patch level in addition to the 
>>> release (e.g. - "R11B-4")?
> 
> So is there any "canonical" way that erlangers condition code based on 
> functionality that is in a specific patch level of a release? 

1> erlang:system_info(version).
"5.5.4"

   this is the erts version. version X.Y.Z is roughly the same as "R"Y+6"B-"Z 
(e.g. 5.5.4 is R11B-4).

   mats



More information about the erlang-questions mailing list