External programming interfaces for watchdog applications

Red Hat Enterprise Linux 9.2 LPAR mode z/VM guest KVM guest

There is an API for applications that work with the watchdog device driver.

Application programmers: This information is intended for programmers who want to write watchdog applications that work with the watchdog device driver.

For information about the API and the supported IOCTLs, see the Documentation/watchdog/watchdog-api.txt file in the Linux® source tree.

The default watchdog timeout is 30 seconds, the minimum timeout that can be set through the IOCTL WDIOC_SETTIMEOUT is 15 seconds.