Subject: software watchdog issue
To: None <current-users@netbsd.org>
From: Denis Lagno <dlagno@smtp.ru>
List: current-users
Date: 01/23/2005 22:08:23
Hi,

recently software watchdog appeared in the tree (thanks Steven).
I tried to use it and it behaves weird:

# wdogctl
Available watchdog timers:
        swwdog0, 60 second period
# wdogctl -u swwdog
wdogctl: WDOGIOC_SMODE: No such process

After that process wdogctl appears, eating a lot of CPU:

CPU0 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU1 states:  5.4% user,  0.0% nice, 94.6% system,  0.0% interrupt,  0.0% idle
Memory: 57M Act, 772K Wired, 8720K Exec, 16M File, 747M Free
Swap: 3906M Total, 3906M Free

PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
981 root      64    0    20K  384K CPU/0      2:49 99.39% 99.37% wdogctl