When deciding one client parameter structure to one OTP
gen_server, is it necessary to insert both Pid
and Node name
into the parameter structure?
Given one remote pid
, is it possible to convert pid
to node name
? I mean full node name, like "[email protected]".
Calling node(Pid)
will return the name of the node on which Pid
resides.
Can someone explain the structure of a Pid in Erlang?
How do I found out which node an erlang process is running on?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With