resource detect for Erlang OTP in Action