How to display all registered process in Erlang?

Total Post:117

 754  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. Post:214

    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



Enter your email address here always to be updated. We promise not to spam!