~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to man/mysql_zap.1

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\"     Title: \fBmysql_zap\fR
 
3
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
 
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
 
5
.\"      Date: 03/01/2010
 
6
.\"    Manual: MySQL Database System
 
7
.\"    Source: MySQL 5.1
 
8
.\"  Language: English
 
9
.\"
 
10
.TH "\FBMYSQL_ZAP\FR" "1" "03/01/2010" "MySQL 5\&.1" "MySQL Database System"
 
11
.\" -----------------------------------------------------------------
 
12
.\" * set default formatting
 
13
.\" -----------------------------------------------------------------
 
14
.\" disable hyphenation
 
15
.nh
 
16
.\" disable justification (adjust text to left margin only)
 
17
.ad l
 
18
.\" -----------------------------------------------------------------
 
19
.\" * MAIN CONTENT STARTS HERE *
 
20
.\" -----------------------------------------------------------------
 
21
.\" mysql_zap
 
22
.SH "NAME"
 
23
mysql_zap \- kill processes that match a pattern
 
24
.SH "SYNOPSIS"
 
25
.HP \w'\fBmysql_zap\ [\-\fR\fB\fIsignal\fR\fR\fB]\ [\-?Ift]\ \fR\fB\fIpattern\fR\fR\ 'u
 
26
\fBmysql_zap [\-\fR\fB\fIsignal\fR\fR\fB] [\-?Ift] \fR\fB\fIpattern\fR\fR
 
27
.SH "DESCRIPTION"
 
28
.PP
 
29
\fBmysql_zap\fR
 
30
kills processes that match a pattern\&. It uses the
 
31
\fBps\fR
 
32
command and Unix signals, so it runs on Unix and Unix\-like systems\&.
 
33
.PP
 
34
Invoke
 
35
\fBmysql_zap\fR
 
36
like this:
 
37
.sp
 
38
.if n \{\
 
39
.RS 4
 
40
.\}
 
41
.nf
 
42
shell> \fBmysql_zap [\-\fR\fB\fIsignal\fR\fR\fB] [\-?Ift] \fR\fB\fIpattern\fR\fR
 
43
.fi
 
44
.if n \{\
 
45
.RE
 
46
.\}
 
47
.PP
 
48
A process matches if its output line from the
 
49
\fBps\fR
 
50
command contains the pattern\&. By default,
 
51
\fBmysql_zap\fR
 
52
asks for confirmation for each process\&. Respond
 
53
y
 
54
to kill the process, or
 
55
q
 
56
to exit
 
57
\fBmysql_zap\fR\&. For any other response,
 
58
\fBmysql_zap\fR
 
59
does not attempt to kill the process\&.
 
60
.PP
 
61
If the
 
62
\fB\-\fR\fB\fIsignal\fR\fR
 
63
option is given, it specifies the name or number of the signal to send to each process\&. Otherwise,
 
64
\fBmysql_zap\fR
 
65
tries first with
 
66
TERM
 
67
(signal 15) and then with
 
68
KILL
 
69
(signal 9)\&.
 
70
.PP
 
71
\fBmysql_zap\fR
 
72
supports the following additional options:
 
73
.sp
 
74
.RS 4
 
75
.ie n \{\
 
76
\h'-04'\(bu\h'+03'\c
 
77
.\}
 
78
.el \{\
 
79
.sp -1
 
80
.IP \(bu 2.3
 
81
.\}
 
82
\fB\-\-help\fR,
 
83
\fB\-?\fR,
 
84
\fB\-I\fR
 
85
.sp
 
86
Display a help message and exit\&.
 
87
.RE
 
88
.sp
 
89
.RS 4
 
90
.ie n \{\
 
91
\h'-04'\(bu\h'+03'\c
 
92
.\}
 
93
.el \{\
 
94
.sp -1
 
95
.IP \(bu 2.3
 
96
.\}
 
97
\fB\-f\fR
 
98
.sp
 
99
Force mode\&.
 
100
\fBmysql_zap\fR
 
101
attempts to kill each process without confirmation\&.
 
102
.RE
 
103
.sp
 
104
.RS 4
 
105
.ie n \{\
 
106
\h'-04'\(bu\h'+03'\c
 
107
.\}
 
108
.el \{\
 
109
.sp -1
 
110
.IP \(bu 2.3
 
111
.\}
 
112
\fB\-t\fR
 
113
.sp
 
114
Test mode\&. Display information about each process but do not kill it\&.
 
115
.RE
 
116
.SH "COPYRIGHT"
 
117
.br
 
118
.PP
 
119
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
 
120
.PP
 
121
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.
 
122
.PP
 
123
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.
 
124
.PP
 
125
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/.
 
126
.sp
 
127
.SH "SEE ALSO"
 
128
For more information, please refer to the MySQL Reference Manual,
 
129
which may already be installed locally and which is also available
 
130
online at http://dev.mysql.com/doc/.
 
131
.SH AUTHOR
 
132
Sun Microsystems, Inc. (http://www.mysql.com/).