Monitoring of nodes..

Martin Bjorklund <>
Wed May 17 09:03:15 CEST 2000


Geoff Wong <> wrote:

> Hmm, I gave my example incorrectly. Basically I was
> trying to indicate that net_kernel:monitor_nodes(true)
> gives the same behaviour as Pekka was explaining  with 
> the bif monitor_node.
> 
> erl -sname fud
> Erlang (BEAM) emulator version 4.9.1 [source]
> 
> Eshell V4.9.1  (abort with ^G)
> ()1> net_adm:ping().
> pong
> ()2> net_adm:ping().
> pong
> ()3> net_kernel:monitor_nodes(true).
> ok
> ()4> receive A -> A end.
> {}
> ()5> receive A -> A end.
>
> I never get a nodedown when I take down  (after taking
> down ).

In this case it's because A is bound to {nodedown, }, so the
receive just hangs, waiting for another nodedown from 

Which OS are you running?  Do you which OS pekka is running?



/martin



More information about the erlang-questions mailing list