1MYSQL_WAITPID(1)            MariaDB 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       2010-2015 MariaDB Foundation
48
49       This documentation is free software; you can redistribute it and/or
50       modify it only under the terms of the GNU General Public License as
51       published by the Free Software Foundation; version 2 of the License.
52
53       This documentation is distributed in the hope that it will be useful,
54       but WITHOUT ANY WARRANTY; without even the implied warranty of
55       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
56       General Public License for more details.
57
58       You should have received a copy of the GNU General Public License along
59       with the program; if not, write to the Free Software Foundation, Inc.,
60       51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
61       http://www.gnu.org/licenses/.
62
63

SEE ALSO

65       For more information, please refer to the MariaDB Knowledge Base,
66       available online at https://mariadb.com/kb/
67

AUTHOR

69       MariaDB Foundation (http://www.mariadb.org/).
70
71
72
73MariaDB 10.3                      9 May 2017                  MYSQL_WAITPID(1)
Impressum