collect statistics from VM Erlang  and write in statistic.log file