instrument モジュール

% erl +Mim true
Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.7.4  (abort with ^G)
1> instrument:memory_data().
{{instr_hdr,2,40,
            {{undefined,sys_alloc,system_data},
             {nbif_tab,sys_alloc,system_data},
             {info_dsbuf,sys_alloc,system_data},
             {ethread_internal,sys_alloc,system_data},
             {hipe_data,sys_alloc,system_data},
             {putenv_string,sys_alloc,system_data},
             {tmp_heap,temp_alloc,process_data},
             {msg_roots,temp_alloc,process_data},
             {root_set,temp_alloc,process_data},
             {loader_tmp,temp_alloc,code_data},
             {nc_tmp,temp_alloc,system_data},
             {tmp,temp_alloc,system_data},
             {dctrl_buf,temp_alloc,system_data},
             {tmp_dist_buf,temp_alloc,system_data},
             {estack,temp_alloc,system_data},
             {port_call_buf,temp_alloc,system_data},
             {db_tmp,temp_alloc,ets_data},
             {db_mc_stack,temp_alloc,ets_data},
             {db_match_spec_cmpl_heap,temp_alloc,ets_data},
             {logger_dsbuf,temp_alloc,system_data},
             {tmp_dsbuf,temp_alloc,system_data},
             {ddll_tmp_buf,temp_alloc,...},
             {re_tmp_buf,...},
             {...},...}},
 [{105,9446232,176215,undefined},
  {118,9622496,50,undefined},
  {113,9622600,1224,undefined},
  {116,9623872,1584,undefined},
  {105,9625504,2263,undefined},
  {4,12583016,16,undefined},
  {96,9627816,524288,undefined},
  {4,12583080,16,undefined},
  {105,10152152,13015,undefined},
  {94,10165216,262144,undefined},
  {105,10427408,599,undefined},
  {103,10428056,1728,undefined},
  {109,10429832,296,undefined},
  {109,10430176,16,undefined},
  {102,10430240,345072,undefined},
  {73,17155672,1,undefined},
  {73,17155736,1,undefined},
  {105,10775360,22615,undefined},
  {105,10798024,2519,undefined},
  {106,10800592,24,undefined},
  {90,10820000,8192,undefined},
  {88,10828240,32776,undefined},
  {131,10862592,40,undefined},
  {90,10862680,8192,...},
  {131,10862512,...},
  {131,...},
  {...}|...]}