← 返回命令列表

Linux command

wdctl 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Display

wdctl

Display

wdctl -O

Display

wdctl -f [flag_list]

说明

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.

参数

-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

FAQ

What is the wdctl command used for?

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.

How do I run a basic wdctl example?

Run `wdctl` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -O, --oneline do in wdctl?

Output in single-line key-value format