]> git.ipfire.org Git - thirdparty/util-linux.git/blame - sys-utils/wdctl.8
script: report also timing file, do it only once
[thirdparty/util-linux.git] / sys-utils / wdctl.8
CommitLineData
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 6wdctl \- 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
12Show hardware watchdog status. The default device is
13.IR /dev/watchdog .
14If more than one device is specified then the output is separated by
15one blank line.
16.PP
b3dd29d1
KZ
17If the device is already used or user has no permissions to read from the device than
18.B wdctl
19reads data from sysfs. In this case information about supported features (flags) might be missing.
20.PP
c372860d 21Note that the number of supported watchdog features is hardware specific.
013a4891 22.SH OPTIONS
c372860d
BS
23.TP
24.BR \-f , " \-\-flags " \fIlist
25Print only the specified flags.
26.TP
27.BR \-F , " \-\-noflags"
2002f9c4 28Do not print information about flags.
c372860d
BS
29.TP
30.BR \-I , " \-\-noident"
2002f9c4 31Do not print watchdog identity information.
c372860d
BS
32.TP
33.BR \-n , " \-\-noheadings"
34Do not print a header line for flags table.
2002f9c4
SK
35.IP "\fB\-o\fR, \fB\-\-output \fIlist\fP"
36Define the output columns to use in table of watchdog flags. If no
37output arrangement is specified, then a default set is used. Use
38.B \-\-help
39to get list of all supported columns.
c372860d
BS
40.TP
41.BR \-O , " \-\-oneline"
9561d1af 42Print all wanted information on one line in key="value" output format.
c372860d
BS
43.TP
44.BR \-r , " \-\-raw"
013a4891 45Use the raw output format.
c372860d
BS
46.TP
47.BR \-s , " \-settimeout " \fIseconds
48Set the watchdog timeout in seconds.
49.TP
50.BR \-T , " \-\-notimeouts"
51Do not print watchdog timeouts.
b06c1ca6 52.IP "\fB\-x\fR, \fB\-\-flags\-only\fP"
96747e75 53Same as \fB\-I \-T\fP.
c372860d
BS
54.TP
55.BR \-V , " \-\-version"
b4362b6f 56Display version information and exit.
c372860d
BS
57.TP
58.BR \-h , " \-\-help"
59Display help text and exit.
013a4891 60.SH AUTHORS
2002f9c4
SK
61.MT kzak@\:redhat\:.com
62Karel Zak
63.ME
64.br
65.MT lennart@\:poettering\:.net
66Lennart Poettering
67.ME
013a4891 68.SH AVAILABILITY
2002f9c4
SK
69The
70.B wdctl
71command 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
73Linux Kernel Archive
74.UE .