LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

wdctl

Display hardware watchdog timer status

TLDR

Display the watchdog status
$ wdctl
copy
Display the watchdog status in key-value format on one line
$ wdctl -O
copy
Display only specific watchdog flags
$ wdctl -f [flag_list]
copy

SYNOPSIS

wdctl [options] [device]

DESCRIPTION

wdctl shows the status of the hardware watchdog timer. A watchdog is a hardware or software timer that triggers a system reset if the main program fails to regularly reset it, preventing system lockups.The output includes information about the watchdog device, timeout values, and supported features. Different hardware watchdogs support different capabilities.

PARAMETERS

-O, --oneline

Output in single-line key-value format
-f, --flags _list_
Display only specified flags
-s, --settimeout _seconds_
Set the watchdog timeout
-x, --flags-only
Show flags only
-o, --output _list_
Define output columns
-r, --raw
Raw output format
-n, --noheadings
Don't print headings

INSTALL

sudo apt install util-linux
copy
sudo dnf install util-linux
copy
sudo pacman -S util-linux
copy
sudo apk add util-linux-misc
copy
sudo zypper install util-linux
copy
brew install util-linux
copy
nix profile install nixpkgs#util-linux
copy

CAVEATS

Requires read access to the watchdog device (typically /dev/watchdog). Available flags are driver-specific. Not all systems have hardware watchdog support. Part of the util-linux package.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid