The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Umbrella Scripting(very Urgent) sunitachoudhury Shell Programming and Scripting 6 04-04-2008 08:04 AM
Urgent for shell script sunnysunny Shell Programming and Scripting 4 03-04-2008 12:42 PM
difference between AIX shell scripting and Unix shell scripting. haroonec Shell Programming and Scripting 2 04-12-2006 05:12 AM
help needed in shell scripting......urgent swamymns Shell Programming and Scripting 3 12-06-2005 08:10 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-07-2008
Registered User
 

Join Date: Feb 2008
Posts: 2
Please help me out:-Its Urgent-C Shell Scripting

Hi Friends,
I am new to this forum as well as new to shell scripting.
I have a problem here and i need someone to solve this.

Let us consider there are two processes(abc & def).There is a script which kills these two processes(i.e killtheprocess abc). Here abc is the argument .
There is a automated system which detects which process is killed and it starts the process up within two minutes.This is the summary.

Now what i want is:-
The program should contain these features:_
1. It will take the PID of the two process.
2. kill the process with the help of the script(killtheprocess). The
script should contain the two process names(i.e abc & def) .
3. After the process is killed, it should be able to detect if the two particular process has come up within two minutes by the help of the automated sytem
4. If the process comes up then it will send a mail to a group of people that everything is fine .
5. if the process doesnot come up then it should send a mail to a group of people that it needs to be manually started.
6. For confirmation that the process has indeed gone down and come up the two PIDs should be different.

It is urgent . Please help me out. If soemone needs some more clarification then please reply.

Thanks
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:35 AM.


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

Content Relevant URLs by vBSEO 3.2.0