Looking for software monitoring tool in C/C++

  • Thread starter Generic Usenet Account
  • Start date
G

Generic Usenet Account

[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
 
R

Roger Johansson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top