LinuxCommandLibrary

systemctl-service-watchdogs

Toggle service watchdog monitoring

TLDR

Show watchdog status

$ systemctl service-watchdogs
copy
Enable watchdogs
$ systemctl service-watchdogs yes
copy
Disable watchdogs
$ systemctl service-watchdogs no
copy

SYNOPSIS

systemctl service-watchdogs [yes|no]

DESCRIPTION

systemctl service-watchdogs gets or sets the global state of service runtime watchdogs. When enabled, systemd monitors services with WatchdogSec= configured and restarts them if they fail to signal liveness within the timeout period.
Disabling watchdogs globally stops systemd from killing and restarting unresponsive services, useful during debugging.

CAVEATS

Disabling watchdogs may allow hung services to persist indefinitely. Changes are temporary and reset on reboot. Individual service watchdog settings still apply when re-enabled.

HISTORY

The service-watchdogs subcommand provides a global kill switch for the watchdog mechanism, useful when debugging services that would otherwise be restarted before investigation completes.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community