Say I have a daemon that dies for an unknown reason. Is there a way to track its process ID to try to determine when it dies and what causes it to go away?
Maybe "truss -p" on the daemon would be worth a try.
Does the deamon in question have a log file and/or debug mode?