How to show all processes in Erlang?

后端 未结 4 844
说谎
说谎 2021-02-13 03:58

I need get all registered process. I input register(). a

 mnesia_event,kernel_safe_sup,mnesia_monitor,mnesia_snmp_sup,
 mnesia_recover,mnesia_late_l         


        
4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-13 04:20

    registered() is returning all the processes, but the shell is truncating output.

    you can print the result to see everything:

    io:format("~p~n", [registered()]).
    

提交回复
热议问题