title: How to kill all PHP-FPM processes in a single command line
body: <p>I have a challenge shutting down effectively <code>php-fpm</code>; not all processes stop running and as such, <code>php-fpm</code> does not restart as expected.</p>
  
  <p>I want a command line to run that will kill all the <code>php-fpm</code> process so I can add it to <code>init.d</code> so a stop will ensure they are all removed.</p>
  
  <p>Below is the result of <code>ps -aux | grep php-fpm</code>;</p>
  
  <pre><code>793      102971  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool tokyodating.co
  794      102972  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool turkeydating.co
  794      102973  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool turkeydating.co
  794      102974  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool turkeydating.co
  795      102975  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool ukrainedating.co
  795      102976  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool ukrainedating.co
  795      102977  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool ukrainedating.co
  796      102978  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool unemployeddating.com
  796      102979  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool unemployeddating.com
  796      102980  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool unemployeddating.com
  822      102981  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool datingcougar.co
  822      102982  0.0  0.1 4520304 5868 ?        S    13:20   0:00 php-fpm: pool datingcougar.co
  822      102983  0.0  0.1 4520304 5888 ?        S    13:20   0:00 php-fpm: pool datingcougar.co
  798      102984  0.0  0.1 4520304 5888 ?        S    13:20   0:00 php-fpm: pool vegandating.co
  798      102985  0.0  0.1 4520304 5888 ?        S    13:20   0:00 php-fpm: pool vegandating.co
  798      102986  0.0  0.1 4520304 5888 ?        S    13:20   0:00 php-fpm: pool vegandating.co
  799      102987  0.0  0.1 4520304 5888 ?        S    13:20   0:00 php-fpm: pool vegetariandating.co
  799      102988  0.0  0.1 4520304 5888 ?        S    13:20   0:00 php-fpm: pool vegetariandating.co
  799      102989  0.0  0.1 4520304 5888 ?        S    13:20   0:00 php-fpm: pool vegetariandating.co
  800      102990  0.0  0.1 4520304 5888 ?        S    13:20   0:00 php-fpm: pool vietnamdating.co
  800      102991  0.0  0.1 4520304 5888 ?        S    13:20   0:00 php-fpm: pool vietnamdating.co
  800      102992  0.0  0.1 4520304 5888 ?        S    13:20   0:00 php-fpm: pool vietnamdating.co
  720      103001  0.0  0.2 4522680 10672 ?       S    13:21   0:00 php-fpm: pool kuwaitdating.co
  746      103008  0.1  0.2 4522684 10132 ?       S    13:23   0:00 php-fpm: pool newzealanddating.co
  746      103009  0.0  0.1 4520304 5876 ?        S    13:23   0:00 php-fpm: pool newzealanddating.co
  </code></pre>
  
  <p>How can I kill all <code>php-fpm</code> processes running a single command line?</p>