[systemd-devel] How to get hardware watchdog status when using systemd

Wiktor Kwapisiewicz wiktor at metacode.biz
Tue May 28 10:59:27 UTC 2019


Hello,

I've enabled "RuntimeWatchdogSec=30" in /etc/systemd/system.conf (after 
reading excellent "systemd for Administrators" series [0]).

Before enabling that "wdctl" printed nice statistics but now it only 
informs that the "watchdog already in use, terminating." I guess this is 
obvious as systemd is using /dev/watchdog now but is there a way to get 
more statistics about watchdog from systemd?

Journal has only basic info that the setting is enabled:

$ journalctl | grep watchdog

kernel: NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
systemd[1]: Hardware watchdog 'iTCO_wdt', version 0
systemd[1]: Set hardware watchdog to 30s.

Thank you in advance!

Kind regards,
Wiktor

[0]: http://0pointer.de/blog/projects/watchdog.html

-- 
https://metacode.biz/@wiktor


More information about the systemd-devel mailing list