|
Home > Archive > alt.os.linux > December 2002 > Check Software Is Running?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Check Software Is Running?
|
|
|
| Hi,
Is it possible to have my unix box check occasionally whether a program has
stopped responding, and if so, either restart it or send an email giving
notification of the problem? Can this be achieved using a cron job?
Cheers,
Milo.
| |
| Sybren Stuvel 2002-12-19, 4:25 am |
| In alt.os.linux Milo enlightened us with:
> Is it possible to have my unix box check occasionally whether a program has
> stopped responding, and if so, either restart it or send an email giving
> notification of the problem? Can this be achieved using a cron job?
Yes and yes
Sybren
-- [colo
r=darkred]
>>> RUNNING A MICROSOFT GAME USING WINE <<<[/color]
sybren@sybren:Mechwarrior Mercenaries$ wine MW4Mercs.exe
INSTR_IDT_Emulate Evil attempt to exploit win9x system security flaws detected
INSTR_IDT_Emulate UNIX system security is too strong, can't emulate properly
| |
| Peter T. Breuer 2002-12-19, 5:25 am |
| Milo <ungabunga@milan.net> wrote:
> Is it possible to have my unix box check occasionally whether a program has
> stopped responding, and if so, either restart it or send an email giving
Yes.
> notification of the problem? Can this be achieved using a cron job?
Yes.
Peter
| |
|
|
After a little further investigation - would this be better achieved in the
/etc/inittab file? The program in question is Nebulae Server
(http://xtras.tabuleiro.com/products/nebulae/index.tdb). I want to ensure
that on the rare occasions that the program stops responding of exits, it is
restarted ASAP.
Any further help very gratefully received!
> Milo <ungabunga@milan.net> wrote:
>> Is it possible to have my unix box check occasionally whether a program has
>> stopped responding, and if so, either restart it or send an email giving
>
> Yes.
>
>> notification of the problem? Can this be achieved using a cron job?
>
> Yes.
>
> Peter
|
|
|
|
|