Re: killing child process
| From: | Michael J. Pawlowsky | Date: | Thu, 02 Jan 2003 16:13:05 +0000 |
| Subject: | Re: killing child process | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129955@lists.php.net to get a copy of this message | ||
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 at 4:51 PM Marek Kilimajer wrote:
>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
>string and grep for
>that in the above command.