Translating from pid to node name
Wed Feb 21 19:15:26 CET 2001
> I have a server process which is going to get the pid of another
> process, most likely from another node (erts node). How can I
> translate that pid to the name of the node that its coming from?
You can just use node(Pid).
The docs for the erlang module are large but very useful :)
NOTICE AND DISCLAIMER:
This email (including attachments) is confidential. If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents. We cannot accept liability for any breaches of
confidence arising through use of email. Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions. We will not accept responsibility for any commitments
made by our employees outside the scope of our business. We do not warrant
the accuracy or completeness of such information.
More information about the erlang-questions