{
    "content": [
        {
            "type": "text",
            "text": "# WDCTL (man)\n\n## NAME\n\nwdctl - show hardware watchdog status\n\n## SYNOPSIS\n\nwdctl [options] [device...]\n\n## DESCRIPTION\n\nShow hardware watchdog status. The default device is /dev/watchdog. If more than one device\nis specified then the output is separated by one blank line.\n\n## TLDR\n\n> Show the hardware watchdog status.\n\n- Display the watchdog status:\n  `wdctl`\n- Display the watchdog status in a single line in key-value pairs:\n  `wdctl {{-O|--oneline}}`\n- Display only specific watchdog flags (list is driver specific):\n  `wdctl {{-f|--flags}} {{flag_list}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (12 subsections)\n- **AUTHORS**\n- **REPORTING BUGS**\n- **AVAILABILITY**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "WDCTL",
        "section": "",
        "mode": "man",
        "summary": "wdctl - show hardware watchdog status",
        "synopsis": "wdctl [options] [device...]",
        "tldr_summary": "Show the hardware watchdog status.",
        "tldr_examples": [
            {
                "description": "Display the watchdog status",
                "command": "wdctl"
            },
            {
                "description": "Display the watchdog status in a single line in key-value pairs",
                "command": "wdctl {{-O|--oneline}}"
            },
            {
                "description": "Display only specific watchdog flags (list is driver specific)",
                "command": "wdctl {{-f|--flags}} {{flag_list}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-f",
                "long": "--flags",
                "arg": null,
                "description": "Print only the specified flags."
            },
            {
                "flag": "-F",
                "long": "--noflags",
                "arg": null,
                "description": "Do not print information about flags."
            },
            {
                "flag": "-I",
                "long": "--noident",
                "arg": null,
                "description": "Do not print watchdog identity information."
            },
            {
                "flag": "-n",
                "long": "--noheadings",
                "arg": null,
                "description": "Do not print a header line for flags table."
            },
            {
                "flag": "-o",
                "long": "--output",
                "arg": null,
                "description": "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."
            },
            {
                "flag": "-O",
                "long": "--oneline",
                "arg": null,
                "description": "Print all wanted information on one line in key=\"value\" output format."
            },
            {
                "flag": "-r",
                "long": "--raw",
                "arg": null,
                "description": "Use the raw output format."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "Set the watchdog timeout in seconds."
            },
            {
                "flag": "-T",
                "long": "--notimeouts",
                "arg": null,
                "description": "Do not print watchdog timeouts."
            },
            {
                "flag": "-x",
                "long": "--flags-only",
                "arg": null,
                "description": "Same as -I -T."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Display version information and exit."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Display help text and exit."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-f --flags",
                        "lines": 2,
                        "flag": "-f",
                        "long": "--flags"
                    },
                    {
                        "name": "-F --noflags",
                        "lines": 2,
                        "flag": "-F",
                        "long": "--noflags"
                    },
                    {
                        "name": "-I --noident",
                        "lines": 2,
                        "flag": "-I",
                        "long": "--noident"
                    },
                    {
                        "name": "-n --noheadings",
                        "lines": 2,
                        "flag": "-n",
                        "long": "--noheadings"
                    },
                    {
                        "name": "-o --output",
                        "lines": 3,
                        "flag": "-o",
                        "long": "--output"
                    },
                    {
                        "name": "-O --oneline",
                        "lines": 2,
                        "flag": "-O",
                        "long": "--oneline"
                    },
                    {
                        "name": "-r --raw",
                        "lines": 2,
                        "flag": "-r",
                        "long": "--raw"
                    },
                    {
                        "name": "-s -settimeout",
                        "lines": 2,
                        "flag": "-s"
                    },
                    {
                        "name": "-T --notimeouts",
                        "lines": 2,
                        "flag": "-T",
                        "long": "--notimeouts"
                    },
                    {
                        "name": "-x --flags-only",
                        "lines": 2,
                        "flag": "-x",
                        "long": "--flags-only"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "wdctl - show hardware watchdog status\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "wdctl [options] [device...]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Show hardware watchdog status. The default device is /dev/watchdog. If more than one device\nis specified then the output is separated by one blank line.\n\nIf the device is already used or user has no permissions to read from the device, then wdctl\nreads data from sysfs. In this case information about supported features (flags) might be\nmissing.\n\nNote that the number of supported watchdog features is hardware specific.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-f --flags",
                        "content": "Print only the specified flags.\n",
                        "flag": "-f",
                        "long": "--flags"
                    },
                    {
                        "name": "-F --noflags",
                        "content": "Do not print information about flags.\n",
                        "flag": "-F",
                        "long": "--noflags"
                    },
                    {
                        "name": "-I --noident",
                        "content": "Do not print watchdog identity information.\n",
                        "flag": "-I",
                        "long": "--noident"
                    },
                    {
                        "name": "-n --noheadings",
                        "content": "Do not print a header line for flags table.\n",
                        "flag": "-n",
                        "long": "--noheadings"
                    },
                    {
                        "name": "-o --output",
                        "content": "Define the output columns to use in table of watchdog flags. If no output arrangement is\nspecified, then a default set is used. Use --help to get list of all supported columns.\n",
                        "flag": "-o",
                        "long": "--output"
                    },
                    {
                        "name": "-O --oneline",
                        "content": "Print all wanted information on one line in key=\"value\" output format.\n",
                        "flag": "-O",
                        "long": "--oneline"
                    },
                    {
                        "name": "-r --raw",
                        "content": "Use the raw output format.\n",
                        "flag": "-r",
                        "long": "--raw"
                    },
                    {
                        "name": "-s -settimeout",
                        "content": "Set the watchdog timeout in seconds.\n",
                        "flag": "-s"
                    },
                    {
                        "name": "-T --notimeouts",
                        "content": "Do not print watchdog timeouts.\n",
                        "flag": "-T",
                        "long": "--notimeouts"
                    },
                    {
                        "name": "-x --flags-only",
                        "content": "Same as -I -T.\n",
                        "flag": "-x",
                        "long": "--flags-only"
                    },
                    {
                        "name": "-V --version",
                        "content": "Display version information and exit.\n",
                        "flag": "-V",
                        "long": "--version"
                    },
                    {
                        "name": "-h --help",
                        "content": "Display help text and exit.\n",
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            "AUTHORS": {
                "content": "Karel Zak <kzak@redhat.com>, Lennart Poettering <lennart@poettering.net>\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.\n",
                "subsections": []
            },
            "AVAILABILITY": {
                "content": "The wdctl command is part of the util-linux package which can be downloaded from Linux Kernel\nArchive <https://www.kernel.org/pub/linux/utils/util-linux/>.\n\n\n\nutil-linux 2.37.2                            2021-06-02                                     WDCTL(8)",
                "subsections": []
            }
        }
    }
}