logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wd_identify - get watchdog driver identity

Description

       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.

Files

/dev/watchdog
              The watchdog device.

Name

       wd_identify - get watchdog driver identity

Options

       Available command line options are the following:

       -cconfig-file, --config-fileconfig-file
              Use config-file as the configuration file instead of the default /etc/watchdog.conf.

       -v, --verbose
              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).

See Also

watchdog.conf(5)

       watchdog(8)

4th Berkeley Distribution                           Dec 2015                                      WD_IDENTIFY(8)

Synopsis

wd_identify [-cfilename|--config-filefilename] [-v|--verbose]

See Also