The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Simple Script mojoman Shell Programming and Scripting 6 05-12-2008 12:55 AM
simple script ali560045 Shell Programming and Scripting 1 01-22-2008 12:41 AM
Simple Script Help Skunkie UNIX for Dummies Questions & Answers 4 10-02-2006 08:18 AM
simple awk script... moxxx68 Shell Programming and Scripting 3 01-24-2005 12:17 AM
simple script hedrict UNIX for Dummies Questions & Answers 4 02-23-2004 12:15 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-29-2005
Registered User
 

Join Date: Oct 2005
Posts: 3
Stumble this Post!
help with simple script

I need a script that checks to see if ypserv is running, and if not it will restart yp.

I have a ypslave that is running Sol9, and the ypsrv daemon is dieing, I want to create a cron job that periodicly checks to see if it's running, and if it see's that it isn't, it will re-start the daemon
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-29-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,449
Stumble this Post!
keep_alive monitor a program and restart it if it dies
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:42 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0