[erlang-questions] restart one machine
Taavi Talvik
taavi@REDACTED
Fri May 22 01:01:37 CEST 2009
On May 22, 2009, at 2:30 AM, info wrote:
> Hi all,
>
> In a distributed erlang system, is it possible to restart one
> machine by erlang ?
> If yes, could you advice me what I might read in order to learn ?
> Or explain us here ...
os:cmd("/sbin/reboot").
Or appropriate command for your operating system.
Or man heart(3). Heart will monitor erlang system and
if it does not respond and HEART_COMMAND is set to operating
system reboot command - computer will be restarted.
best regards,
taavi
More information about the erlang-questions
mailing list