Hacker News new | past | comments | ask | show | jobs | submit login

You would have to rip out a lot of the introspection functionality in erlang to make this work eg

  3> [P|_] = erlang:processes().
  [<0.0.0>,<0.3.0>,<0.5.0>,<0.6.0>,<0.8.0>,<0.9.0>,<0.10.0>,
   <0.11.0>,<0.12.0>,<0.13.0>,<0.14.0>,<0.15.0>,<0.17.0>,
   <0.18.0>,<0.19.0>,<0.20.0>,<0.21.0>,<0.22.0>,<0.23.0>,
   <0.24.0>,<0.25.0>,<0.26.0>,<0.27.0>,<0.28.0>,<0.36.0>]
  4> erlang:process_info(P).    
  [{registered_name,init},
   {current_function,{init,loop,1}},
   {initial_call,{otp_ring0,start,2}},
   {status,waiting},
   {message_queue_len,0},
   {messages,[]},
   {links,[<0.5.0>,<0.6.0>,<0.3.0>]},
   {dictionary,[]},
   {trap_exit,true},
   {error_handler,error_handler},
   {priority,normal},
   {group_leader,<0.0.0>},
   {total_heap_size,987},
   {heap_size,610},
   {stack_size,2},
   {reductions,2639},
   {garbage_collection,[{min_bin_vheap_size,46368},
                        {min_heap_size,233},
                        {fullsweep_after,65535},
                        {minor_gcs,8}]},
   {suspending,[]}]



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: