mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / man / mysql_zap.1
bloba9f23e150114ac44da96df9659d6e39d1bb36ead
1 '\" t
2 .\"     Title: \fBmysql_zap\fR
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
5 .\"      Date: 11/04/2013
6 .\"    Manual: MySQL Database System
7 .\"    Source: MySQL 5.1
8 .\"  Language: English
9 .\"
10 .TH "\FBMYSQL_ZAP\FR" "1" "11/04/2013" "MySQL 5\&.1" "MySQL Database System"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .\" mysql_zap
31 .SH "NAME"
32 mysql_zap \- kill processes that match a pattern
33 .SH "SYNOPSIS"
34 .HP \w'\fBmysql_zap\ [\-\fR\fB\fIsignal\fR\fR\fB]\ [\-?Ift]\ \fR\fB\fIpattern\fR\fR\ 'u
35 \fBmysql_zap [\-\fR\fB\fIsignal\fR\fR\fB] [\-?Ift] \fR\fB\fIpattern\fR\fR
36 .SH "DESCRIPTION"
37 .PP
38 \fBmysql_zap\fR
39 kills processes that match a pattern\&. It uses the
40 \fBps\fR
41 command and Unix signals, so it runs on Unix and Unix\-like systems\&.
42 .PP
43 Invoke
44 \fBmysql_zap\fR
45 like this:
46 .sp
47 .if n \{\
48 .RS 4
49 .\}
50 .nf
51 shell> \fBmysql_zap [\-\fR\fB\fIsignal\fR\fR\fB] [\-?Ift] \fR\fB\fIpattern\fR\fR
52 .fi
53 .if n \{\
54 .RE
55 .\}
56 .PP
57 A process matches if its output line from the
58 \fBps\fR
59 command contains the pattern\&. By default,
60 \fBmysql_zap\fR
61 asks for confirmation for each process\&. Respond
63 to kill the process, or
65 to exit
66 \fBmysql_zap\fR\&. For any other response,
67 \fBmysql_zap\fR
68 does not attempt to kill the process\&.
69 .PP
70 If the
71 \fB\-\fR\fB\fIsignal\fR\fR
72 option is given, it specifies the name or number of the signal to send to each process\&. Otherwise,
73 \fBmysql_zap\fR
74 tries first with
75 TERM
76 (signal 15) and then with
77 KILL
78 (signal 9)\&.
79 .PP
80 \fBmysql_zap\fR
81 supports the following additional options:
82 .sp
83 .RS 4
84 .ie n \{\
85 \h'-04'\(bu\h'+03'\c
86 .\}
87 .el \{\
88 .sp -1
89 .IP \(bu 2.3
90 .\}
91 \fB\-\-help\fR,
92 \fB\-?\fR,
93 \fB\-I\fR
94 .sp
95 Display a help message and exit\&.
96 .RE
97 .sp
98 .RS 4
99 .ie n \{\
100 \h'-04'\(bu\h'+03'\c
102 .el \{\
103 .sp -1
104 .IP \(bu 2.3
106 \fB\-f\fR
108 Force mode\&.
109 \fBmysql_zap\fR
110 attempts to kill each process without confirmation\&.
113 .RS 4
114 .ie n \{\
115 \h'-04'\(bu\h'+03'\c
117 .el \{\
118 .sp -1
119 .IP \(bu 2.3
121 \fB\-t\fR
123 Test mode\&. Display information about each process but do not kill it\&.
125 .SH "COPYRIGHT"
128 Copyright \(co 1997, 2013, Oracle and/or its affiliates. All rights reserved.
130 This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
132 This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
134 You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
136 .SH "SEE ALSO"
137 For more information, please refer to the MySQL Reference Manual,
138 which may already be installed locally and which is also available
139 online at http://dev.mysql.com/doc/.
140 .SH AUTHOR
141 Oracle Corporation (http://dev.mysql.com/).