Use pkill -f, which matches the pattern for any part of the command line
pkill -f my_pattern
Related Posts
Mount Windows Share on Ubuntu
$ sudo apt-get install cifs-utils $ sudo mount //WINSRV/SHARE -t cifs -o uid=1000,gid=1000,username=winuser /mnt/path where…
Upgrade Drupal core from command line (ubuntu)
check what version the site is at: drush status Go to http://drupal.org/node/3060/release, filter by the…