Registered name of a process from its PID

Vladimir Sekissov svg@REDACTED
Wed May 14 20:42:46 CEST 2003


Good day,

csanto> before I start to write lines of code using registered/0 and whereis/1 BIFs, I 
csanto> would like to know if there is a BIF to obtain the registered name of process 
csanto> starting from its PID. Something like the inverse of the whereis/1 function.

process_info(Pid, registered_name)

You can get a lot of other useful information with process_info/1,2.

Please see `erlang' manpage.

Best Regards,
Vladimir Sekissov



More information about the erlang-questions mailing list