how to retrive registered processes of user application running on a node

martin j logan <>
Tue Dec 24 15:58:30 CET 2002


Suresh,
There is the function regs() that can be run on the shell that will give
you the info that you need. The actual function that regs() is calling
can be traced through the stdlib module shell_default. 
There is the function erlang:registered() which will return a list of
all registered names on a node. Typically basic utility functions of
this nature can be found in the kernel module erlang. 

As an aside, you may want to look at the postings this past week on
registering many processes. Make sure that it is the right fit for you.
In my experience there is usually little need to do so.   

Cheers,
Martin 

On Tue, 2002-12-24 at 02:27, Suresh S wrote:
>  Hi,
>  i hava an application , which has got many registered
>  processes , 
>  is there any chance to know all the registered
>  processes of my application running on a node
> 
>  there is no .app file for my application
> 
>  usually registered().
>  will return all the registered processes on a node
>  where as i nedd is registered processes of my        
>   application 
> 
>  Thanking u 
>  
>  suresh s
> 
> ________________________________________________________________________
> Missed your favourite TV serial last night? Try the new, Yahoo! TV.
>        visit http://in.tv.yahoo.com





More information about the erlang-questions mailing list