DOKK / manpages / debian 12 / watchdog / wd_identify.8.en
WD_IDENTIFY(8) System Manager's Manual WD_IDENTIFY(8)

wd_identify - get watchdog driver identity

wd_identify [-c filename|--config-file filename] [-v|--verbose]

This utility opens /dev/watchdog and gets the identification string from the watchdog which then is printed. The device is closed afterwards.

An exit code of zero indicates success in getting the driver identity, while a non-zero exit code indicates an error (not configured in the config file, no device driver loaded, or driver failed to respond to ioctl request).

The wd_identify tool can only be used without causing a reboot if your kernel is not compiled with the CONFIG_WATCHDOG_NOWAYOUT option enabled.

Note that the watchdog and/or wd_keepalive daemons may have to be stopped to make sure that wd_identify can access the watchdog device.

Available command line options are the following:

Use config-file as the configuration file instead of the default /etc/watchdog.conf.
Print more diagnostic messages. This covers parsing of the config file and also causes the program to read-back the current watchdog time-out value (if successful in opening the device).

/dev/watchdog
The watchdog device.

watchdog.conf(5)

watchdog(8)
Dec 2015 4th Berkeley Distribution