1MYSQL_ZAP(1) MySQL Database System MYSQL_ZAP(1)
2
3
4
6 mysql_zap - kill processes that match a pattern
7
9 mysql_zap [-signal] [-?Ift] pattern
10
12 mysql_zap kills processes that match a pattern. It uses the ps command
13 and Unix signals, so it runs on Unix and Unix-like systems.
14
15 Invoke mysql_zap like this:
16
17 shell> mysql_zap [-signal] [-?Ift] pattern
18
19 A process matches if its output line from the ps command contains the
20 pattern. By default, mysql_zap asks for confirmation for each process.
21 Respond y to kill the process, or q to exit mysql_zap. For any other
22 response, mysql_zap does not attempt to kill the process.
23
24 If the -signal option is given, it specifies the name or number of the
25 signal to send to each process. Otherwise, mysql_zap tries first with
26 TERM (signal 15) and then with KILL (signal 9).
27
28 mysql_zap supports the following additional options:
29
30 · --help, -?, -I
31
32 Display a help message and exit.
33
34 · -f
35
36 Force mode. mysql_zap attempts to kill each process without
37 confirmation.
38
39 · -t
40
41 Test mode. Display information about each process but do not kill
42 it.
43
45 Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
46
47 This documentation is free software; you can redistribute it and/or
48 modify it only under the terms of the GNU General Public License as
49 published by the Free Software Foundation; version 2 of the License.
50
51 This documentation is distributed in the hope that it will be useful,
52 but WITHOUT ANY WARRANTY; without even the implied warranty of
53 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
54 General Public License for more details.
55
56 You should have received a copy of the GNU General Public License along
57 with the program; if not, write to the Free Software Foundation, Inc.,
58 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
59 http://www.gnu.org/licenses/.
60
61
63 For more information, please refer to the MySQL Reference Manual, which
64 may already be installed locally and which is also available online at
65 http://dev.mysql.com/doc/.
66
68 Sun Microsystems, Inc. (http://www.mysql.com/).
69
70
71
72MySQL 5.1 04/06/2010 MYSQL_ZAP(1)