How to display all registered process in Erlang?

Total Post:117


 1095  View(s)
Rate this:
I have a need to get all registered process so I use registered() function but it is not returning all the registered process. After showing some process name it is displaying |...
So can you tell me how can I display all the process names?
  1. Re: How to display all registered process in Erlang?

    You are using correct function but using it in incorrect way. registered() function is returning all the processes name but problem is with the shell because shell is truncating the output so in last line it is displaying |...
    To display all the process name use it like this:
    io:format("~p~n", [registered()]).

      Modified On Mar-09-2016 01:52:22 AM


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.