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 understands 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-2007 MySQL AB
46
47 This documentation is NOT distributed under a GPL license. Use of this
48 documentation is subject to the following terms: You may create a
49 printed copy of this documentation solely for your own personal use.
50 Conversion to other formats is allowed as long as the actual content is
51 not altered or edited in any way. You shall not publish or distribute
52 this documentation in any form or on any media, except if you
53 distribute the documentation in a manner similar to how MySQL
54 disseminates it (that is, electronically for download on a Web site
55 with the software) or on a CD-ROM or similar medium, provided however
56 that the documentation is disseminated together with the software on
57 the same medium. Any other use, such as any dissemination of printed
58 copies or use of this documentation, in whole or in part, in another
59 publication, requires the prior written consent from an authorized
60 representative of MySQL AB. MySQL AB reserves any and all rights to
61 this documentation not expressly granted above.
62
63 Please email <docs@mysql.com> for more information.
64
66 For more information, please refer to the MySQL Reference Manual, which
67 may already be installed locally and which is also available online at
68 http://dev.mysql.com/doc/.
69
71 MySQL AB (http://www.mysql.com/). This software comes with no
72 warranty.
73
74
75
76MySQL 5.0 07/04/2007 MYSQL_ZAP(1)