1MARIADB-WAITPID(1) MariaDB Database System MARIADB-WAITPID(1)
2
3
4
6 mariadb-waitpid - kill process and wait for its termination
7 (mysql_waitpid is now a symlink to mariadb-waitpid)
8
10 mysql_waitpid [options] pid wait_time
11
13 mysql_waitpid signals a process to terminate and waits for the process
14 to exit. It uses the kill() system call and Unix signals, so it runs on
15 Unix and Unix-like systems.
16
17 Invoke mysql_waitpid like this:
18
19 shell> mysql_waitpid [options] pid wait_time
20
21 mysql_waitpid sends signal 0 to the process identified by pid and waits
22 up to wait_time seconds for the process to terminate. pid and
23 wait_time must be positive integers.
24
25 If process termination occurs within the wait time or the process does
26 not exist, mysql_waitpid returns 0. Otherwise, it returns 1.
27
28 If the kill() system call cannot handle signal 0, mysql_waitpid() uses
29 signal 1 instead.
30
31 mysql_waitpid supports the following options:
32
33 • --help, -?, -I
34
35 Display a help message and exit.
36
37 • --verbose, -v
38
39 Verbose mode. Display a warning if signal 0 could not be used and
40 signal 1 is used instead.
41
42 • --version, -V
43
44 Display version information and exit.
45
47 Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.,
48 2010-2019 MariaDB Foundation
49
50 This documentation is free software; you can redistribute it and/or
51 modify it only under the terms of the GNU General Public License as
52 published by the Free Software Foundation; version 2 of the License.
53
54 This documentation is distributed in the hope that it will be useful,
55 but WITHOUT ANY WARRANTY; without even the implied warranty of
56 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
57 General Public License for more details.
58
59 You should have received a copy of the GNU General Public License along
60 with the program; if not, write to the Free Software Foundation, Inc.,
61 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA or see
62 http://www.gnu.org/licenses/.
63
64
66 For more information, please refer to the MariaDB Knowledge Base,
67 available online at https://mariadb.com/kb/
68
70 MariaDB Foundation (http://www.mariadb.org/).
71
72
73
74MariaDB 10.5 27 June 2019 MARIADB-WAITPID(1)