title: How to know the id of a node in erlang
body: <p>When we run a node() command we get the pid of the node. In the format &lt;0.X.0> if we are on the same node and we get a result of the form &lt; X.Y.0> when running the same command from some other node. I want to know how to get the value X from &lt; X.Y.0> on the same node.</p>