Hi Allan,

My shell script, started in the background (&), communicates with Oracle DB,
it makes ssh and/or ftp connections with another hosts and sometimes it hangs
up from its selves. We see the process using ps but it does not process any
data and file, what normally should.

This is the reason for what I want to use mon.

Any suggestion?
----------------------
László Graf

Allan Wind írta:

On 2005-09-08T16:07:16+0200, Graf László wrote:
I am using a shell script wich runs in the background.  How should I
configure mon to alert me if the process hangs up or fail in
operations?

If you mean process dying with "hangs up" then you could use the
ps.monitor that is in contrib.  If you mean stop working as expected or
hangs then it is a unresolved problem in general, and you need to look
into making decisions based on timeouts.  For instance have your script
touch a file then write a monitor to alert if you if that file is too
old.  Should you mean a signal perhaps you want to trap that?


/Allan
------------------------------------------------------------------------

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to