From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321660.tru64-unix-managers.marc@archive.invalid> From: Guy Dallaire Date: Fri, 18 Oct 1996 13:27:50 +0000 To: tru64-unix-managers Subject: Monitoring a SPECIFIC process X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321660 One of our users has a process that's running in the background and exits from time to time for no specific reason. He gets no core dump when that happens. We just can't find under what circumstances his proces dies. Is there a (home mad or free) tool that I could use to "watch" that process and tell me what was the system doing when the process exited or died ? Maybe that could put us on the right track to investigate. FYI: That program is looping ad infinitum connecting to a database, scanning for things to do, disconnecting, etc... It is started in background with a nohup from a korn shell. We've included a sleep 10 command after the process startup to make sure it has time to initialize before the korn shell exits. By the way, a lot of people told on that list that in order to have a nohup command run OK when it is near the end of a script, you have to put that sleep command before a shell exits to prevent the command from dying prematurly. Is this a BUG ? For example, does other UNIX need such "magic" ? Thanks AGAIN Guy Dallaire dallaire@megatoon.com "God only knows if god exists"