[systemd-devel] How to get hardware watchdog status when using systemd
Wiktor Kwapisiewicz
wiktor at metacode.biz
Tue May 28 12:15:05 UTC 2019
Hi Lennart,
On 28.05.2019 14:02, Lennart Poettering wrote:
> The kernel devices are currently single-use only. Most of these fields
> are exported via sysfs too however:
>
> grep . /sys/class/watchdog/watchdog0/*
Oh, that's very useful and indeed, there is timeleft property there and
it's changing.
> I think it might make sense if util-linux' wdctl would alternatively
> use the sysfs API for querying these bits, it should be fairly easy to
> add, please file a bug requesting that on util-linux github page!
The bug has been filed under this URL:
https://github.com/karelzak/util-linux/issues/804
Thank you for your assistance!
Kind regards,
Wiktor
--
https://metacode.biz/@wiktor
More information about the systemd-devel
mailing list