Watchdog for process


 
Thread Tools Search this Thread
Operating Systems Solaris Watchdog for process
# 1  
Old 02-23-2010
Watchdog for process

Hi,


is there something build in solaris that can act as "watchdog".
I have some process (service) running (e.g. Rhino). It can happen that if freezes totaly so I need to find this out and restart it totaly.

My vision is two possibilities.
1) there is some counter running and I will arrange that my process reset the counter in some time interval. In case it will not, the service providing the counter will restart my process no matter if it's running or not.

2) some service will communicate with my process in some time intervals (I can put into my process some reply on some question) and in case he will no get answer, he restarts my process.


however, you surely know what I need. I know it can be programmed additionaly but....isn't there some watchdog functionality already build into solaris (10).


thanks a lot
# 2  
Old 02-23-2010
# 3  
Old 02-23-2010
unbelievable Smilie I found this page already yeasterday and I put it immediatelly to my bookmarks. really nice one. However I know how to solve that in this way. cron and this one :
Code:
#!/bin/sh
if [ ! `/usr/bin/pgrep Rhino` ] ; then
nohup ./Rhino-blabla &
fi
exit 0

I was curious if there is some build in watchdog in solaris Smilie
OK, when this is the only one , I can live with it.

but what about some process which stays in memory , but is frozen (I'm just on theoretical level. can not give any example) Smilie

Quote:
Originally Posted by incredible

Last edited by pludi; 02-23-2010 at 10:29 AM.. Reason: code tags, please...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Watchdog for a specific process trigger another process

Hi, I am willing to build a script that does a "ps-ef" or "top" on a specific process, and if it finds it running to start another process. Any suggestions to do this in a optimized way? Thanks! (2 Replies)
Discussion started by: liviusbr
2 Replies

2. AIX

no watchdog notification

Hi All, I am getting pages from EMS(Event Monitoring Servers) for "no watchdog notification" I just wonder what cause this and what to look in the system. this error was generated from production lpar which hosts p570 Thanks Mann (4 Replies)
Discussion started by: chubby362002
4 Replies

3. Solaris

doubt reg Hardware watchdog enabled

Hi, Please let me know what is hardware watchdog enabled which we get when the solaris host is booting .As per my knowledge its the one states that the POST is enabled. correct me if am wrong. (1 Reply)
Discussion started by: rogerben
1 Replies

4. Shell Programming and Scripting

Shell Script to Kill Process(number of process) Unix/Solaris

Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies

5. Shell Programming and Scripting

script to monitor process running on server and posting a mail if any process is dead

Hello all, I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted. Thanks in advance Regards, pradeep kulkarni. :mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies

6. Solaris

disabling watchdog

hi, is it possible to disable the "hardware watchdog" on a V240 sol 10 server? and how to? this server freeze 9/10 during boot on this command...:mad: thanks (3 Replies)
Discussion started by: guilik
3 Replies

7. SCO

Watchdog Problem In Unix Server

My Unix Server with SCO Unix ver 5, display Watchdog error which reads, Watchdog ReInitMemory 6 for board 0 Warning : eeE : Allocb failure in ReInitMemory. My server has 98 dumb terminals connected. It has 5 Hard Disks (SCSI) of 9.1 GB each and 512 MB RAM. Uses RAID level 5 After this error... (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies

8. UNIX for Dummies Questions & Answers

WatchDog ReInit

Wath is this ?? eeE: WatchDog ReInitMemory 6 for board 0 WARNING: eeE: Allocb failure in ReInitMemory Only renit manualy is a solution. :confused: Help me please Tnks (2 Replies)
Discussion started by: RoMaGo
2 Replies
Login or Register to Ask a Question