[maemo-developers] [maemo-developers] Reboot Cycle
From: Eero Tamminen eero.tamminen at movial.fiDate: Mon Aug 14 15:33:14 EEST 2006
- Previous message: [maemo-developers] Laika 2.1 released..
- Next message: [maemo-developers] custom gstreamer plugins
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
> Well, it was inevitable, I got myself into a reboot cycle. Using the
> no-lifeguard-reset flag seems to bring the system back to a very stable
> state, though, so I'm wondering if there's a list of programs that
> should be running that the lifeguard will watch for so I can debug what
> exactly is failing?
The watchdog process is "dsme". If you check it's PID with ps (here 828),
you can list which process have it as a parent with something like this:
watchdog=828;
for i in /proc/[1-9]*; do
p=$(grep PPid $i/status|cut -d: -f2);
if [ $p -eq $watchdog ]; then
cat $i/cmdline; echo;
fi;
done
Because of maemo laucher, I use /proc/PID/cmdline for outputting
the watchdogged command name (maemo-launched binaries have the
launcher as the process name, 'cmdline' tells which "program"
is being "launched").
- Eero
- Previous message: [maemo-developers] Laika 2.1 released..
- Next message: [maemo-developers] custom gstreamer plugins
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
