Kill all php process

First check all the PHP processes using the below command

ps aux | grep php

Then get all the Process Ids from the above command

ps aux | grep php | awk '{print $2}'

Then kill all the processes

kill -9 `ps aux | grep php | awk '{print $2}'`

Advertisements
Kill all php process

2 thoughts on “Kill all php process

  1. That is the suitable blog for anyone who desires to seek out out about this topic. You understand a lot its virtually hard to argue with you (not that I actually would want…HaHa). You undoubtedly put a brand new spin on a subject thats been written about for years. Great stuff, just great!
    Aw, this was a really nice post. In thought I would like to put in writing like this additionally – taking time and actual effort to make a very good article… however what can I say… I procrastinate alot and on no account seem to get one thing done.

    Like

  2. After study a number of of the blog posts on your website now, and I really like your means of blogging. I bookmarked it to my bookmark web site list and will be checking back soon. Pls check out my web site as properly and let me know what you think.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s