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

Wiktor Kwapisiewicz wiktor at metacode.biz
Tue May 28 11:50:53 UTC 2019

Hi Zbyszek,

On 28.05.2019 13:43, Zbigniew Jędrzejewski-Szmek wrote:
> What kind of information are you after?

One interesting statistic I'd like to see changing is the time when the 
watchdog was notified last.

For example, there is Timeleft in this wdctl output [0]:

   # wdctl
   Identity:      iTCO_wdt [version 0]
   Timeout:       30 seconds
   Timeleft:       2 seconds

   FLAG           DESCRIPTION               STATUS BOOT-STATUS
   KEEPALIVEPING  Keep alive ping reply          0           0
   MAGICCLOSE     Supports magic close char      0           0
   SETTIMEOUT     Set timeout (in seconds)       0           0

Kind regards,

[0]: https://karelzak.blogspot.com/2012/05/eject1-sulogin1-wdctl1.html


More information about the systemd-devel mailing list