1MYSQL_WAITPID(1)             MySQL Database System            MYSQL_WAITPID(1)
2
3
4

NAME

6       mysql_waitpid - kill process and wait for its termination
7

SYNOPSIS

9       mysql_waitpid [options] pid wait_time
10

DESCRIPTION

12       mysql_waitpid signals a process to terminate and waits for the process
13       to exit. It uses the kill() system call and Unix signals, so it runs on
14       Unix and Unix-like systems.
15
16       Invoke mysql_waitpid like this:
17
18           shell> mysql_waitpid [options] pid wait_time
19
20       mysql_waitpid sends signal 0 to the process identified by pid and waits
21       up to wait_time seconds for the process to terminate.  pid and
22       wait_time must be positive integers.
23
24       If process termination occurs within the wait time or the process does
25       not exist, mysql_waitpid returns 0. Otherwise, it returns 1.
26
27       If the kill() system call cannot handle signal 0, mysql_waitpid() uses
28       signal 1 instead.
29
30       mysql_waitpid supports the following options:
31
32       ·   --help, -?, -I
33
34           Display a help message and exit.
35
36       ·   --verbose, -v
37
38           Verbose mode. Display a warning if signal 0 could not be used and
39           signal 1 is used instead.
40
41       ·   --version, -V
42
43           Display version information and exit.
44
46       Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
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

SEE ALSO

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

AUTHOR

69       Sun Microsystems, Inc. (http://www.mysql.com/).
70
71
72
73MySQL 5.1                         04/06/2010                  MYSQL_WAITPID(1)
Impressum