0

I have a script with a long execution time. Apache is using php_mod.

I start the process in the browser ( open the url ). I close the browser and the process is still running.

How can I find the apache process and stop it (linux os )

1

How can I find the apache process and stop it (linux os )

If you know you ip, find apache process PID:

netstat -anp | grep 10.1.1.1 | grep \:80
tcp        0      0 127.0.0.1:80            10.1.1.1:48125         ESTABLISHED 7191/apache2

And kill it:

kill 7191
2
  • Are you sure? It's not working...
    – johnlemon
    Oct 7 '10 at 9:10
  • It works.Perfect.
    – johnlemon
    Oct 7 '10 at 9:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.