This modules contains the interface to the
An Erlang runtime system to be monitored by a heart program,
should be started with the command line flag
% erl -heart ...
If the system should be rebooted because of missing heart-beats,
or a terminated Erlang runtime system, the environment variable
To reboot on the WINDOWS platform
The hardware watchdog will not be started under Solaris if
the environment variable
The
% erl -heart -env HEART_BEAT_TIMEOUT 30 ...
The value (in seconds) must be in the range 10 < X <= 65535.
It should be noted that if the system clock is adjusted with
more than
If a crash occurs, an
% erl -heart -env ERL_CRASH_DUMP_SECONDS 10 ...
Furthermore,
Suppresses the writing a crash dump file entirely, thus rebooting the runtime system immediately. This is the same as not setting the environment variable.
Setting the environment variable to a negative value will not reboot the runtime system until the crash dump file has been completly written.
Heart will wait for
In the following descriptions, all function fails with reason
Sets a temporary reboot command. This command is used if
a
Limitations: The length of the
Clears the temporary boot command. If the system terminates,
the normal
Get the temporary reboot command. If the command is cleared, the empty string will be returned.