Re: [PHP] killing child process

2003-01-02 Thread Michael J. Pawlowsky
I was just giving you an example of how to get the listing of all processes. I didn't actually think you were going to kill all your httpd processes. I was taking it for granted you would change httpd to the name of your process. Mike *** REPLY SEPARATOR *** On 02/01/2003 a

Re: [PHP] killing child process

2003-01-02 Thread Marek Kilimajer
Michael J. Pawlowsky wrote: Actually to kill all of them would not be hard Try something like ps -eaf | grep httpd | awk '{print $2}' actualy it will be named only other_script.php (it doesn't go through httpd). You can execute the scripts with a dummy parameter that will be a random

Re: [PHP] killing child process

2003-01-02 Thread Michael J. Pawlowsky
Actually to kill all of them would not be hard Try something like ps -eaf | grep httpd | awk '{print $2}' That will give you all the httpd processes...pipe that into kill Mike *** REPLY SEPARATOR *** On 02/01/2003 at 8:26 PM gamin wrote: >Hello, > > Running PHP

[PHP] killing child process

2003-01-02 Thread gamin
Hello, Running PHP 4.0.6 on RedHat 7.2. I'm writing a command line script (called scirpt.php) and am using the backtick operator to start other processes from my script. $com_response = `./other_script.php` ; or #com_response = `wget `; I can kill scirpt.php easily but that wont kill ot