From: Guy Dallaire <dallaire () total ! net>
To: tru64-unix-managers
Subject: Monitoring a SPECIFIC process
Date: Fri, 18 Oct 1996 13:27:50 +0000 [thread overview]
Message-ID: <96076340321660.tru64-unix-managers.marc@archive.invalid> (raw)
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"
next reply other threads:[~1996-10-18 13:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-18 13:27 Guy Dallaire [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-11-10 16:03 Monitoring a SPECIFIC process rafael.vida
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox