shutting down a node remotely

Vladimir Sekissov <>
Mon Jun 6 20:23:32 CEST 2005

Good day,

serge> I need to shut down a node from another node.  I know how it can be done 
serge> with a function like:
serge> f(Node) ->
serge>    rpc:cast(Node, init, stop, []).
serge> but is there a way to accomplish the same using "-remsh" or another 
serge> erl's command-line option, like ...skipped

You could try `erl_call':

echo 'init:stop().' | erl_call -sname node -e

It is usually compiled to


Best Regards,
Vladimir Sekissov

More information about the erlang-questions mailing list