hpiwdt1
This sample openhpi application reads and enables the watchdog timer.
Usage
hpiwdt [-D
nn]
[-N
host
[:port]]
[-C
<cfgfile>]
[-t
sec]
[-X]
[-h]
hpiwdt [--domain=nn]
[--host=host
[:port]]
[--cfgfile=file]
[--disable]
[--enable]
[--reset]
[--timeout
n]
[--debug]
[--help]
Overview
hpiwdt reads and enables the watchdog timer.
If no domain or host is selected, hpiwdt uses the default domain as specified in the openhpiclient.conf file.
Options
Help Options:
-
-h, --help -
Show help options
Application Options:
-
-e, --enable -
Enables the watchdog timer
-
-d, --disable -
Disables the watchdog timer
-
-r, --reset -
Resets the watchdog timer
-
-t sec, --timeout=sec -
Sets timeout to sec seconds
-
-D nn, --domain=nn -
Select domain id nn
-
-X, --debug -
Display debug messages
-
-N "host[:port]", --host="host[:port]" -
Open session to the domain served by the daemon at the specified URL (host:port). This option overrides the OPENHPI_DAEMON_HOST and OPENHPI_DAEMON_PORT environment variables. If host contains ':' (for example IPv6 address) then enclose it in square brackets. For example: "[::1]" or "[::1]:4743".
-
-C "file", --cfgfile="file" -
Use passed file as client configuration file. This option overrides the OPENHPICLIENT_CONF environment variable.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 7 times.
--cfgfile since Debian 9 (Stretch);
--debug since Debian 9 (Stretch);
--disable since Debian 9 (Stretch);
--domain since Debian 9 (Stretch);
--enable since Debian 9 (Stretch);
--help since Debian 9 (Stretch);
--host since Debian 9 (Stretch);
--reset since Debian 9 (Stretch);
--timeout since Debian 9 (Stretch);
-C since Debian 9 (Stretch);
-D since Debian 9 (Stretch);
-N since Debian 9 (Stretch);
-X since Debian 9 (Stretch);
-d since Debian 9 (Stretch);
-e since Debian 9 (Stretch);
-h since Debian 9 (Stretch);
-r since Debian 9 (Stretch);
-t since Debian 9 (Stretch).