![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|