1WDCTL(8) System Administration WDCTL(8)
2
3
4
6 wdctl - show hardware watchdog status
7
9 wdctl [options] [device...]
10
12 Show hardware watchdog status. The default device is /dev/watchdog. If
13 more than one device is specified then the output is separated by one
14 blank line.
15
16 If the device is already used or user has no permissions to read from
17 the device, then wdctl reads data from sysfs. In this case information
18 about supported features (flags) might be missing.
19
20 Note that the number of supported watchdog features is hardware
21 specific.
22
24 -f, --flags list
25 Print only the specified flags.
26
27 -F, --noflags
28 Do not print information about flags.
29
30 -I, --noident
31 Do not print watchdog identity information.
32
33 -n, --noheadings
34 Do not print a header line for flags table.
35
36 -o, --output list
37 Define the output columns to use in table of watchdog flags. If no
38 output arrangement is specified, then a default set is used. Use
39 --help to get list of all supported columns.
40
41 -O, --oneline
42 Print all wanted information on one line in key="value" output
43 format.
44
45 -p, --setpretimeout seconds
46 Set the watchdog pre-timeout in seconds. A watchdog pre-timeout is
47 a notification generated by the watchdog before the watchdog reset
48 might occur in the event the watchdog has not been serviced. This
49 notification is handled by the kernel and can be configured to take
50 an action using sysfs or by --setpregovernor.
51
52 -g, --setpregovernor governor
53 Set pre-timeout governor name. For available governors see default
54 wdctl output.
55
56 -r, --raw
57 Use the raw output format.
58
59 -s, --settimeout seconds
60 Set the watchdog timeout in seconds.
61
62 -T, --notimeouts
63 Do not print watchdog timeouts.
64
65 -x, --flags-only
66 Same as -I -T.
67
68 -h, --help
69 Display help text and exit.
70
71 -V, --version
72 Print version and exit.
73
75 Karel Zak <kzak@redhat.com>, Lennart Poettering
76 <lennart@poettering.net>
77
79 For bug reports, use the issue tracker at
80 https://github.com/util-linux/util-linux/issues.
81
83 The wdctl command is part of the util-linux package which can be
84 downloaded from Linux Kernel Archive
85 <https://www.kernel.org/pub/linux/utils/util-linux/>.
86
87
88
89util-linux 2.38 2022-02-17 WDCTL(8)