This is the command xnbd-watchdog that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
xnbd-watchdog - Watch a NBD device as started by xnbd-client(1)
xnbd-watchdog [--timeout SECONDS] [--interval SECONDS] [--recovery-command COMMAND]
With the xnbd-watchdog, you can monitor a running xnbd-client and trigger actions on
The following options are supported:
Triggers the recovery command action if the watchdog process is unable to connect to
the NBD_DEVICE within the given timeout. If not given, this defaults to 10 seconds.
Specifies the polling interval between probes. If not given, this defaults to 10
If given, the COMMAND is executed if the watchdog is unable to connect the NBD device
after timeout exceeded.
This argument is a shortcut for --recovery-command "reboot now". That is, it will
reboot the server upon failure.
The following positional options are supported:
The local nbd-device to be associated with the remote xnbd-server.
Use xnbd-watchdog online using onworks.net services