For Programmers: Free Programming Magazines  


Home > Archive > Open Source Software > November 2004 > Looking for software monitoring tool in C/C++









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 Looking for software monitoring tool in C/C++
Generic Usenet Account

2004-10-31, 8:56 pm

[Apologies in advance if this subject is OT]

I am looking for an opensource/freeware/shareware product, developed
in C or C++ (Linux environment), that performs basic software
monitoring. More specifically, I am looking for an application that
is "in charge" of a number of other applications and maintains
surveillance on those applications during run-time. If one of those
applications experiences an abnormal failure, it automatically
attempts to relaunch it.

It would be desirable if the application could be a little more
sophisticated and handle things like "retry count" (i.e. number of
times that an attempt is made to relaunch a process) and "retry wait
interval" (i.e. time interval to wait before relaunching a process).


Any pointers will be appreciated.

Bhat
Roger Johansson

2004-11-01, 8:56 am

usenet@sta.samsung.com (Generic Usenet Account) wrote:

> I am looking for an opensource/freeware/shareware product, developed
> in C or C++ (Linux environment), that performs basic software
> monitoring. More specifically, I am looking for an application that
> is "in charge" of a number of other applications and maintains
> surveillance on those applications during run-time. If one of those
> applications experiences an abnormal failure, it automatically
> attempts to relaunch it.
>
> It would be desirable if the application could be a little more
> sophisticated and handle things like "retry count" (i.e. number of
> times that an attempt is made to relaunch a process) and "retry wait
> interval" (i.e. time interval to wait before relaunching a process).


It is possible to do this with Windows Powerpro.
But you would probably need to join the powerpro mailing list to get help
with writing a script for the task.
(There are a few other script languages which can also do this.)

What is needed is a script which checks what windows and processes are
running, referencing a list of processes you want to keep running, and
restarts the processes which have stopped.
The "retry count" and "retry wait interval" stuff can also be programmed
in that script language.


--
Roger J.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com