summaryrefslogtreecommitdiffstats
path: root/sys-utils/wdctl.8.adoc
blob: 6eb44e5d86e97e3d1fb91d062a3e2d49c434ac84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
//po4a: entry man manual
= wdctl(8)
:doctype: manpage
:man manual: System Administration
:man source: util-linux {release-version}
:page-layout: base
:command: wdctl

== NAME

wdctl - show hardware watchdog status

== SYNOPSIS

*wdctl* [options] [_device_...]

== DESCRIPTION

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, then *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.

== OPTIONS

*-f*, *--flags* _list_::
Print only the specified flags.

*-F*, *--noflags*::
Do not print information about flags.

*-I*, *--noident*::
Do not print watchdog identity information.

*-n*, *--noheadings*::
Do not print a header line for flags table.

*-o*, *--output* _list_::
Define 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*, *--oneline*::
Print all wanted information on one line in key="value" output format.

*-p*, *--setpretimeout* _seconds_::
Set the watchdog pre-timeout in seconds. A watchdog pre-timeout is a
notification generated by the watchdog before the watchdog reset might occur in
the event the watchdog has not been serviced. This notification is handled by
the kernel and can be configured to take an action using sysfs or by **--setpregovernor**.

*-g*, *--setpregovernor* _governor_::
Set pre-timeout governor name. For available governors see default **wdctl** output.

*-r*, *--raw*::
Use the raw output format.

*-s*, *--settimeout* _seconds_::
Set the watchdog timeout in seconds.

*-T*, *--notimeouts*::
Do not print watchdog timeouts.

*-x*, *--flags-only*::
Same as *-I -T*.

include::man-common/help-version.adoc[]

== AUTHORS

mailto:kzak@redhat.com[Karel Zak],
mailto:lennart@poettering.net[Lennart Poettering]

include::man-common/bugreports.adoc[]

include::man-common/footer.adoc[]

ifdef::translation[]
include::man-common/translation.adoc[]
endif::[]