Use pkill -f, which matches the pattern for any part of the command line
pkill -f my_pattern
Related Posts
How To Add Swap on Ubuntu 12.04
To add a swap-partition instead of swap-file: blkid /dev/sdax (get UUID) mkswap /dev/sdax (format swap…
Extending a Linux File System After Resizing a Volume
After you increase the size of an EBS volume, you must use file system–specific commands…