mysql_zap kills processes that match a pattern. It uses the ps command and Unix signals, so it runs on Unix and Unix-like systems.
This program is deprecated as of MySQL 5.6.19 and is removed in MySQL 5.7.
Invoke mysql_zap like this:
shell> mysql_zap [-signal] [-?Ift] pattern
A process matches if its output line from the
ps command contains the pattern. By default,
mysql_zap asks for confirmation for each
y to kill the process, or
q to exit mysql_zap. For
any other response, mysql_zap does not
attempt to kill the process.
mysql_zap supports the following additional options: