![Forrest logo](/images/logo.png)
wdctl
The "wdctl" command line tool is a utility available on Linux systems. It is specifically designed for managing and controlling the behavior of watchdog timers. A watchdog timer is a hardware component that monitors the operation of a system and can reset it in case of failures or malfunctions.
With the "wdctl" tool, users can configure and interact with watchdog timers in various ways. It allows you to check the status of watchdog timers, including whether they are enabled or disabled. You can also view specific details such as the timeout period or the remaining time before a system reset.
Additionally, the utility enables users to configure watchdog timers by setting attributes like timeout values and heartbeat intervals. It offers the ability to enable or disable watchdogs, preventing or allowing them to cause system resets when necessary. It also provides options to test the watchdog functionality.
The "wdctl" tool helps in managing and troubleshooting watchdog timers efficiently through the command line interface, making it a convenient utility for system administrators and developers working with watchdog-based systems.
List of commands for wdctl:
-
wdctl:tldr:087f8 wdctl: Display the watchdog status.$ wdctltry on your machineexplain this command
-
wdctl:tldr:b6ed0 wdctl: Display the watchdog status in a single line in key-value pairs.$ wdctl --onelinetry on your machineexplain this command
-
wdctl:tldr:d684c wdctl: Display only specific watchdog flags (list is driver specific).$ wdctl --flags ${flag_list}try on your machineexplain this command