[Voyage-linux] watchdog with CPU load monitor

Teco Boot (spam-protected)
Sat Apr 3 20:10:36 HKT 2010


I tested watchdog daemon with CPU load parameters.
It seems watchdog doesn't get the CPU load.
Message in syslog tells load is 0, even when tested at 100%.
I run Voyage 0.6.5 on Alix6.

Kind regards, Teco


olsr-rt31:/etc# cat watchdog.conf | grep max-load
max-load-1              = 80
max-load-5              = 70
max-load-15             = 60

olsr-rt31:~# ps -fp 5529 
UID        PID  PPID  C STIME TTY          TIME CMD
root      5529     1  0 06:30 ?        00:00:00 /usr/sbin/watchdog -v

olsr-rt31:~# vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
 2  0      0 215832   1284  21720    0    0     0     0 1143   55 97  3  0  0
 1  0      0 215832   1284  21720    0    0     0     0 1174   49 97  3  0  0
 1  0      0 215832   1284  21720    0    0     0     0 1146   51 98  2  0  0
 1  0      0 215840   1284  21720    0    0     0     0 1126   48 98  2  0  0

olsr-rt31:~# tail -f /var/log/daemon.log
Jan  3 06:32:45 olsr-rt31 watchdog[5529]: still alive after 8 interval(s)
Jan  3 06:32:45 olsr-rt31 watchdog[5529]: current load is 0 0 0
Jan  3 06:32:45 olsr-rt31 watchdog[5529]: currently there are 215840 kB of free memory available
Jan  3 06:33:00 olsr-rt31 watchdog[5529]: still alive after 9 interval(s)
Jan  3 06:33:00 olsr-rt31 watchdog[5529]: current load is 0 0 0
Jan  3 06:33:00 olsr-rt31 watchdog[5529]: currently there are 215840 kB of free memory available

olsr-rt31:~# lsmod | grep geo
geodewdt                3964  0 
geode_rng               1596  0 
rng_core                3444  1 geode_rng
geode_aes               5180  0 






More information about the Voyage-linux mailing list