parkill1
Kill all processes running a specified command
Usage
parkill [-debug]
[-verbose]
[-user=name]
program
Overview
parkill kills all processes running a specified command.
Many systems also have the "killall" command; this should be used instead if it is available.
This script relies on the ps command; where possible, it uses the /proc/<pid>/cmdline interface to more reliably access the commandline (to avoid matching command line parameters as if they were functions).
Options
-
-debug -
Print debug information.
-
-verbose -
Be verbose.
-
--user=name -
Only kill processes belonging to a particular user. Root privileges are required for this option.
Releases
Unchanged in 5 releases since Debian 9 (Stretch).