]> git.ipfire.org Git - thirdparty/util-linux.git/blob - sys-utils/wdctl.8
wdctl; read from /sys if necessary
[thirdparty/util-linux.git] / sys-utils / wdctl.8
1 .\" wdctl.8 --
2 .\" Copyright (C) 2012 Karel Zak <kzak@redhat.com>
3 .\" May be distributed under the GNU General Public License
4 .TH WDCTL "8" "July 2014" "util-linux" "System Administration"
5 .SH NAME
6 wdctl \- show hardware watchdog status
7 .SH SYNOPSIS
8 .B wdctl
9 [options]
10 .RI [ device ...]
11 .SH DESCRIPTION
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
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
21 Note that the number of supported watchdog features is hardware specific.
22 .SH OPTIONS
23 .TP
24 .BR \-f , " \-\-flags " \fIlist
25 Print only the specified flags.
26 .TP
27 .BR \-F , " \-\-noflags"
28 Do not print information about flags.
29 .TP
30 .BR \-I , " \-\-noident"
31 Do not print watchdog identity information.
32 .TP
33 .BR \-n , " \-\-noheadings"
34 Do not print a header line for flags table.
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.
40 .TP
41 .BR \-O , " \-\-oneline"
42 Print all wanted information on one line in key="value" output format.
43 .TP
44 .BR \-r , " \-\-raw"
45 Use the raw output format.
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.
52 .IP "\fB\-x\fR, \fB\-\-flags\-only\fP"
53 Same as \fB\-I \-T\fP.
54 .TP
55 .BR \-V , " \-\-version"
56 Display version information and exit.
57 .TP
58 .BR \-h , " \-\-help"
59 Display help text and exit.
60 .SH AUTHORS
61 .MT kzak@\:redhat\:.com
62 Karel Zak
63 .ME
64 .br
65 .MT lennart@\:poettering\:.net
66 Lennart Poettering
67 .ME
68 .SH AVAILABILITY
69 The
70 .B wdctl
71 command is part of the util-linux package and is available from
72 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
73 Linux Kernel Archive
74 .UE .