catching SIGTERM

Charles Blair <>
Sat Jul 16 21:52:29 CEST 2005


> 2. Call some function that dumps state from another node.  Here is an 
> example of calling server:dump_state() on the 'nodename' node from 
> another node:
> 
>    echo "rpc:call('nodename@`hostname -s`', server, dump_state, [])." | \
>        erl -sname restarter -hidden

thanks. i whipped up a proof of concept using this approach, and it
worked like a charm. thanks again.




More information about the erlang-questions mailing list