This might not be good place to post such question, please direct me to some
useful mailing list if you know.
 
Here I'm trying to start one process from init.d directory (at system
boot-up time as a service). I'm able to start that process at boot up time.
This process in turn starts 2 more processes (perl process1, perl process2).
Upto this I'm fine.
 
The problem is I'm not able to stop parent process (tried killproc in script
kept at init.d dir). I'm trying following syntax to kill the parent:
 
stop {
       echo "Killing parent process"
       temp=killproc "perl -w parent_proc"
}
 
I'm using "perl -w parent_proc" to kill the process as I'm getting this as
process name after "ps -af" execution.
Am I doing this correctly? If I killed parent process will it kill its
sibilings also thro' killproc?
 
Thanks in advance.
 
Rajnikant Jachak | Software Engg | Persistent Systems Limited
 <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] | Cell: +91 9822204088 | Tel: +91 (20)
3023 2479
 
Persistent Systems - Innovations in software product design,development and
delivery -  <http://www.persistentsys.com/> www.persistentsys.com
 
 

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

Reply via email to