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 © 1997, 2013, Oracle and/or its affiliates. All rights
46 reserved.
47
48 This documentation is free software; you can redistribute it and/or
49 modify it only under the terms of the GNU General Public License as
50 published by the Free Software Foundation; version 2 of the License.
51
52 This documentation is distributed in the hope that it will be useful,
53 but WITHOUT ANY WARRANTY; without even the implied warranty of
54 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
55 General Public License for more details.
56
57 You should have received a copy of the GNU General Public License along
58 with the program; if not, write to the Free Software Foundation, Inc.,
59 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
60 http://www.gnu.org/licenses/.
61
62
64 For more information, please refer to the MySQL Reference Manual, which
65 may already be installed locally and which is also available online at
66 http://dev.mysql.com/doc/.
67
69 Oracle Corporation (http://dev.mysql.com/).
70
71
72
73MySQL 5.1 11/04/2013 MYSQL_ZAP(1)