NAME
mysql_zap - kill processes that match a pattern
SYNOPSIS
- mysql_zap [-signal] [-?Ift]
pattern
DESCRIPTION
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.
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 process. Respond y to kill the process, or q
to exit mysql_zap. For any other response, mysql_zap
does not attempt to kill the process.
If the -signal option is given, it specifies the
name or number of the signal to send to each process. Otherwise,
mysql_zap tries first with TERM (signal 15) and then with
KILL (signal 9).
mysql_zap understands the following additional options:
- *
- --help, -?, -I
Display a help message and exit.
- *
- -f
Force mode. mysql_zap attempts to kill each process
without confirmation.
- *
- -t
Test mode. Display information about each process but do not
kill it.
SEE ALSO
msql2mysql(1),
myisam_ftdump(1),
myisamchk(1),
myisamlog(1),
myisampack(1),
mysql(1),
mysql.server(1),
mysql_config(1),
mysql_fix_privilege_tables(1), mysql_upgrade(1),
mysqlaccess(1),
mysqladmin(1),
mysqlbinlog(1),
mysqlcheck(1),
mysqld(1),
mysqld_multi(1),
mysqld_safe(1),
mysqldump(1),
mysqlhotcopy(1),
mysqlimport(1),
mysqlmanager(1),
mysqlshow(1),
perror(1),
replace(1),
safe_mysqld(1)
For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/.
AUTHOR
MySQL AB (http://www.mysql.com/). This software
comes with no warranty.