Re: RFC: watchdog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 20, 2018 at 04:19:09PM +0900, Masatake YAMATO wrote:
> As far as I know, there is no enough popular tool to inspect the
> current status of /dev/watchdog. watchdog device provides ioctl
> commands to return timeout value and timeleft value. The tool
> I assume is reports the values for given device.
> 
> /sys/class/watchdog is provided. However, whether it
> is available or not is up to kernel build-configuration.
> 
> How do you think about adding such tool to util-linux?
> Do you think such command should be in a separate project?
> If the answer is yes, what command name do you prefer to for
> the command? ("watchdog" is not good name).
> 
> If the answer is no, could you tell me a project or person
> I should talk to about this command?

man wdctl :-)

# wdctl
Device:        /dev/watchdog
Identity:      iTCO_wdt [version 0]
Timeout:       30 seconds
Pre-timeout:    0 seconds
Timeleft:       2 seconds
FLAG           DESCRIPTION               STATUS BOOT-STATUS
KEEPALIVEPING  Keep alive ping reply          1           0
MAGICCLOSE     Supports magic close char      0           0
SETTIMEOUT     Set timeout (in seconds)       0           0

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux