]>
Commit | Line | Data |
---|---|---|
013a4891 KZ |
1 | .\" wdctl.8 -- |
2 | .\" Copyright (C) 2012 Karel Zak <kzak@redhat.com> | |
3 | .\" May be distributed under the GNU General Public License | |
c372860d | 4 | .TH WDCTL "8" "July 2014" "util-linux" "System Administration" |
013a4891 | 5 | .SH NAME |
c372860d | 6 | wdctl \- show hardware watchdog status |
013a4891 KZ |
7 | .SH SYNOPSIS |
8 | .B wdctl | |
c372860d BS |
9 | [options] |
10 | .RI [ device ...] | |
013a4891 | 11 | .SH DESCRIPTION |
2002f9c4 SK |
12 | Show hardware watchdog status. The default device is |
13 | .IR /dev/watchdog . | |
14 | If more than one device is specified then the output is separated by | |
15 | one blank line. | |
16 | .PP | |
b3dd29d1 KZ |
17 | If the device is already used or user has no permissions to read from the device than |
18 | .B wdctl | |
19 | reads data from sysfs. In this case information about supported features (flags) might be missing. | |
20 | .PP | |
c372860d | 21 | Note that the number of supported watchdog features is hardware specific. |
013a4891 | 22 | .SH OPTIONS |
c372860d BS |
23 | .TP |
24 | .BR \-f , " \-\-flags " \fIlist | |
25 | Print only the specified flags. | |
26 | .TP | |
27 | .BR \-F , " \-\-noflags" | |
2002f9c4 | 28 | Do not print information about flags. |
c372860d BS |
29 | .TP |
30 | .BR \-I , " \-\-noident" | |
2002f9c4 | 31 | Do not print watchdog identity information. |
c372860d BS |
32 | .TP |
33 | .BR \-n , " \-\-noheadings" | |
34 | Do not print a header line for flags table. | |
2002f9c4 SK |
35 | .IP "\fB\-o\fR, \fB\-\-output \fIlist\fP" |
36 | Define the output columns to use in table of watchdog flags. If no | |
37 | output arrangement is specified, then a default set is used. Use | |
38 | .B \-\-help | |
39 | to get list of all supported columns. | |
c372860d BS |
40 | .TP |
41 | .BR \-O , " \-\-oneline" | |
9561d1af | 42 | Print all wanted information on one line in key="value" output format. |
c372860d BS |
43 | .TP |
44 | .BR \-r , " \-\-raw" | |
013a4891 | 45 | Use the raw output format. |
c372860d BS |
46 | .TP |
47 | .BR \-s , " \-settimeout " \fIseconds | |
48 | Set the watchdog timeout in seconds. | |
49 | .TP | |
50 | .BR \-T , " \-\-notimeouts" | |
51 | Do not print watchdog timeouts. | |
b06c1ca6 | 52 | .IP "\fB\-x\fR, \fB\-\-flags\-only\fP" |
96747e75 | 53 | Same as \fB\-I \-T\fP. |
c372860d BS |
54 | .TP |
55 | .BR \-V , " \-\-version" | |
b4362b6f | 56 | Display version information and exit. |
c372860d BS |
57 | .TP |
58 | .BR \-h , " \-\-help" | |
59 | Display help text and exit. | |
013a4891 | 60 | .SH AUTHORS |
2002f9c4 SK |
61 | .MT kzak@\:redhat\:.com |
62 | Karel Zak | |
63 | .ME | |
64 | .br | |
65 | .MT lennart@\:poettering\:.net | |
66 | Lennart Poettering | |
67 | .ME | |
013a4891 | 68 | .SH AVAILABILITY |
2002f9c4 SK |
69 | The |
70 | .B wdctl | |
71 | command is part of the util-linux package and is available from | |
d673b74e | 72 | .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ |
2002f9c4 SK |
73 | Linux Kernel Archive |
74 | .UE . |