wdctl — show hardware watchdog status
wdctl [options] [ device...
]
Show hardware watchdog status. The default device is
/dev/watchdog. If more than one
device is specified then the output is separated by one blank
line.
If the device is already used or user has no permissions to read from the device than wdctl reads data from sysfs. In this case information about supported features (flags) might be missing.
Note that the number of supported watchdog features is hardware specific.
−f,
−−flags listPrint only the specified flags.
−F,
−−noflagsDo not print information about flags.
−I,
−−noidentDo not print watchdog identity information.
−n,
−−noheadingsDo not print a header line for flags table.
−o, −−output listDefine the output columns to use in table of
watchdog flags. If no output arrangement is specified,
then a default set is used. Use −−help to get list of all
supported columns.
−O,
−−onelinePrint all wanted information on one line in key="value" output format.
−r,
−−rawUse the raw output format.
−s,
−settimeout secondsSet the watchdog timeout in seconds.
−T,
−−notimeoutsDo not print watchdog timeouts.
−x, −−flags−onlySame as −I
−T.
−V,
−−versionDisplay version information and exit.
−h,
−−helpDisplay help text and exit.
The wdctl command is part of the util-linux package and is available from Linux Kernel Archive
|
wdctl.8 -- Copyright (C) 2012 Karel Zak <kzakredhat.com> May be distributed under the GNU General Public License |