1WAITPID(1) User Commands WAITPID(1)
2
3
4
6 waitpid - utility to wait for arbitrary processes
7
9 waitpid [-v] [--timeout|-t seconds] pid...
10
12 waitpid is a simple command to wait for arbitrary non-child processes.
13
14 It exits after all processes whose PIDs have been passed as arguments
15 have exited.
16
18 -v, --verbose
19 Be more verbose.
20
21 -t, --timeout seconds
22 Maximum wait time.
23
24 -e, --exited
25 Don’t error on already exited PIDs.
26
27 -c, --count count
28 Number of process exits to wait for.
29
30 -h, --help
31 Display help text and exit.
32
33 -V, --version
34 Print version and exit.
35
37 waitpid has the following exit status values:
38
39 0
40 success
41
42 1
43 unspecified failure
44
45 2
46 system does not provide necessary functionality
47
48 3
49 timeout expired
50
52 Thomas Weißschuh <thomas@t-8ch.de>
53
55 waitpid(2) wait(1P)
56
58 For bug reports, use the issue tracker at
59 https://github.com/util-linux/util-linux/issues.
60
62 The waitpid command is part of the util-linux package which can be
63 downloaded from Linux Kernel Archive
64 <https://www.kernel.org/pub/linux/utils/util-linux/>.
65
66
67
68util-linux 2.39.2 2023-06-14 WAITPID(1)